Skip to content

Scrollbar functionality to Web view #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 26, 2018

Conversation

lakexyde
Copy link
Contributor

@lakexyde lakexyde commented Jul 3, 2018

Thank you for your effort on this plugin.

I added the ability to remove scrollbars in Webview. The default is true, so developers can always change it to false. I also included it in the README.md

Thanks.

@ghost
Copy link

ghost commented Jul 3, 2018 via email

@lakexyde
Copy link
Contributor Author

lakexyde commented Jul 3, 2018

The user launches a new Webview scaffold. Adding the scrollBar parameter as false.
It sets the vertical scrollbar visibility to false on android and ios. So that user can scroll vertically without the scrollbar on the right.
For example:

Navigator.of(context).push(
  new MaterialPageRoute(
    builder: (_){
      return new WebviewScaffold(
        url: post.url,
        scrollBar: false,
        appBar: new AppBar(
          title: new Text("Just a title"),
        )
      );
    }
  )
);

@ghost
Copy link

ghost commented Jul 5, 2018 via email

@lejard-h
Copy link
Collaborator

Looks great thanks

@lejard-h lejard-h merged commit 016448f into fluttercommunity:master Jul 26, 2018
@lakexyde
Copy link
Contributor Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants