Skip to content

Commit

Permalink
rename resizeToAvoidBottomPadding to resizeToAvoidBottomInset;
Browse files Browse the repository at this point in the history
- #300;
  • Loading branch information
gadfly361 committed Mar 26, 2019
1 parent 1c3a9e4 commit e6fc1f2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/src/webview_scaffold.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class WebviewScaffold extends StatefulWidget {
this.hidden = false,
this.initialChild,
this.allowFileURLs,
this.resizeToAvoidBottomPadding = true,
this.resizeToAvoidBottomInset = false,
this.geolocationEnabled
}) : super(key: key);

Expand All @@ -54,7 +54,7 @@ class WebviewScaffold extends StatefulWidget {
final bool hidden;
final Widget initialChild;
final bool allowFileURLs;
final bool resizeToAvoidBottomPadding;
final bool resizeToAvoidBottomInset;
final bool geolocationEnabled;

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

0 comments on commit e6fc1f2

Please sign in to comment.