File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class WebviewScaffold extends StatefulWidget {
3030 this .hidden = false ,
3131 this .initialChild,
3232 this .allowFileURLs,
33- this .resizeToAvoidBottomPadding = true ,
33+ this .resizeToAvoidBottomInset = false ,
3434 this .geolocationEnabled
3535 }) : super (key: key);
3636
@@ -54,7 +54,7 @@ class WebviewScaffold extends StatefulWidget {
5454 final bool hidden;
5555 final Widget initialChild;
5656 final bool allowFileURLs;
57- final bool resizeToAvoidBottomPadding ;
57+ final bool resizeToAvoidBottomInset ;
5858 final bool geolocationEnabled;
5959
6060 @override
@@ -105,8 +105,7 @@ class _WebviewScaffoldState extends State<WebviewScaffold> {
105105 Widget build (BuildContext context) {
106106 return Scaffold (
107107 appBar: widget.appBar,
108- resizeToAvoidBottomPadding: widget.resizeToAvoidBottomPadding,
109- resizeToAvoidBottomInset: false ,
108+ resizeToAvoidBottomInset: widget.resizeToAvoidBottomInset,
110109 persistentFooterButtons: widget.persistentFooterButtons,
111110 bottomNavigationBar: widget.bottomNavigationBar,
112111 body: _WebviewPlaceholder (
You can’t perform that action at this time.
0 commit comments