Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/src/webview_scaffold.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class WebviewScaffold extends StatefulWidget {
this.hidden = false,
this.initialChild,
this.allowFileURLs,
this.resizeToAvoidBottomInset = false,
this.invalidUrlRegex,
this.geolocationEnabled
}) : super(key: key);
Expand All @@ -54,6 +55,7 @@ class WebviewScaffold extends StatefulWidget {
final bool hidden;
final Widget initialChild;
final bool allowFileURLs;
final bool resizeToAvoidBottomInset;
final String invalidUrlRegex;
final bool geolocationEnabled;

Expand Down Expand Up @@ -105,7 +107,7 @@ class _WebviewScaffoldState extends State<WebviewScaffold> {
Widget build(BuildContext context) {
return Scaffold(
appBar: widget.appBar,
resizeToAvoidBottomInset: false,
resizeToAvoidBottomInset: widget.resizeToAvoidBottomInset,
persistentFooterButtons: widget.persistentFooterButtons,
bottomNavigationBar: widget.bottomNavigationBar,
body: _WebviewPlaceholder(
Expand Down