|
|
@@ -22,8 +22,11 @@ class WebviewScaffold extends StatefulWidget {
|
|
|
this.persistentFooterButtons,
|
|
|
this.bottomNavigationBar,
|
|
|
this.withZoom,
|
|
|
+ this.displayZoomControls,
|
|
|
this.withLocalStorage,
|
|
|
this.withLocalUrl,
|
|
|
+ this.withOverviewMode,
|
|
|
+ this.useWideViewPort,
|
|
|
this.scrollBar,
|
|
|
this.supportMultipleWindows,
|
|
|
this.appCacheEnabled,
|
|
|
@@ -47,6 +50,7 @@ class WebviewScaffold extends StatefulWidget {
|
|
|
final List<Widget> persistentFooterButtons;
|
|
|
final Widget bottomNavigationBar;
|
|
|
final bool withZoom;
|
|
|
+ final bool displayZoomControls;
|
|
|
final bool withLocalStorage;
|
|
|
final bool withLocalUrl;
|
|
|
final bool scrollBar;
|
|
|
@@ -58,6 +62,8 @@ class WebviewScaffold extends StatefulWidget {
|
|
|
final bool resizeToAvoidBottomInset;
|
|
|
final String invalidUrlRegex;
|
|
|
final bool geolocationEnabled;
|
|
|
+ final bool withOverviewMode;
|
|
|
+ final bool useWideViewPort;
|
|
|
|
|
|
@override
|
|
|
_WebviewScaffoldState createState() => _WebviewScaffoldState();
|
|
|
@@ -125,8 +131,11 @@ class _WebviewScaffoldState extends State<WebviewScaffold> {
|
|
|
userAgent: widget.userAgent,
|
|
|
rect: _rect,
|
|
|
withZoom: widget.withZoom,
|
|
|
+ displayZoomControls: widget.displayZoomControls,
|
|
|
withLocalStorage: widget.withLocalStorage,
|
|
|
withLocalUrl: widget.withLocalUrl,
|
|
|
+ withOverviewMode: widget.withOverviewMode,
|
|
|
+ useWideViewPort: widget.useWideViewPort,
|
|
|
scrollBar: widget.scrollBar,
|
|
|
supportMultipleWindows: widget.supportMultipleWindows,
|
|
|
appCacheEnabled: widget.appCacheEnabled,
|