Skip to content
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

Web View Not Expanding in Full Size on Samsung Device #280

Closed
buddhika-ranasinghe opened this issue Dec 20, 2018 · 2 comments
Closed

Web View Not Expanding in Full Size on Samsung Device #280

buddhika-ranasinghe opened this issue Dec 20, 2018 · 2 comments

Comments

@buddhika-ranasinghe
Copy link

buddhika-ranasinghe commented Dec 20, 2018

I tried to use web view in the Flutter Application to use a web view. It runs on simulator without any issue.
But when I try to run it on the actual device ( Samsung A6+ ), I get the web view in a small box in the middle.

In Samsung Device.

20181220_235042

Below is my code.

return Scaffold(
      appBar: AppBar(
        title: Text(newsTitle),
      ),      
      body: Container(
        width: double.infinity,
        child: WebviewScaffold(          
          url: "http://mydomain.com/news.php?news_id=12"
        ),
      ),
);
@sameerbakre
Copy link

why do you have width in container. and if you want to have appbar for webview, there is a appbar parameter in webviewscaffold as well, Have you tried different parameters like zoom and scrollbar?

@buddhika-ranasinghe
Copy link
Author

Hi Team,

This may be due to internal issue in my device. After I did a full cache clearance, this works fine. I'm not sure how it happens. Anyway closing this as not an issue. If I could recreate the issue, I'll raise a new issue.

Thanks @sameerbakre for your support on this.

Regards
Buddhika

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

No branches or pull requests

2 participants