fluttercommunity / fluttercommunity/flutter_webview_plugin

WebView is not fullscreen

Open
#356 14 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

Hi there, i want just confirm is this a bug or not?
Maybe I'm doing something wrong? Or maybe this is a Xiaomi specific bug when renders webview widget.

red offset on the right and bottom.

[Screenschot](https://i.imgur.com/Ahab0yB.jpg)

in the UI is nothing special:
```
return MaterialApp(
home: Scaffold(
body: SafeArea(
child: WebviewScaffold(
url: initialUrl,
initialChild: Container(
color: Colors.red,
child: Center(
child: Text("Loading..."),
),
),
),
bottom: true,
left: true,
right: true,
top: true,
),
),
);
```

Thank you for help in advance =)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the sample with WebviewScaffold on the reported Xiaomi device and compare its layout with the screenshot. Check whether the red offset comes from SafeArea, the scaffold's bottom/left/right/top settings, or the plugin's WebView rendering. Done means determining whether this is a plugin bug or an application layout issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.