File tree 1 file changed +3
-4
lines changed
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 {
30
30
this .hidden = false ,
31
31
this .initialChild,
32
32
this .allowFileURLs,
33
- this .resizeToAvoidBottomPadding = true ,
33
+ this .resizeToAvoidBottomInset = false ,
34
34
this .geolocationEnabled
35
35
}) : super (key: key);
36
36
@@ -54,7 +54,7 @@ class WebviewScaffold extends StatefulWidget {
54
54
final bool hidden;
55
55
final Widget initialChild;
56
56
final bool allowFileURLs;
57
- final bool resizeToAvoidBottomPadding ;
57
+ final bool resizeToAvoidBottomInset ;
58
58
final bool geolocationEnabled;
59
59
60
60
@override
@@ -105,8 +105,7 @@ class _WebviewScaffoldState extends State<WebviewScaffold> {
105
105
Widget build (BuildContext context) {
106
106
return Scaffold (
107
107
appBar: widget.appBar,
108
- resizeToAvoidBottomPadding: widget.resizeToAvoidBottomPadding,
109
- resizeToAvoidBottomInset: false ,
108
+ resizeToAvoidBottomInset: widget.resizeToAvoidBottomInset,
110
109
persistentFooterButtons: widget.persistentFooterButtons,
111
110
bottomNavigationBar: widget.bottomNavigationBar,
112
111
body: _WebviewPlaceholder (
You can’t perform that action at this time.
0 commit comments