Olalekan Oladipupo vor 7 Jahren
Ursprung
Commit
62e4f84669
1 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 5 2
      lib/src/webview_scaffold.dart

+ 5 - 2
lib/src/webview_scaffold.dart

@@ -19,6 +19,7 @@ class WebviewScaffold extends StatefulWidget {
   final bool withZoom;
   final bool withLocalStorage;
   final bool withLocalUrl;
+  final bool scrollBar;
 
   WebviewScaffold(
       {Key key,
@@ -34,7 +35,8 @@ class WebviewScaffold extends StatefulWidget {
       this.bottomNavigationBar,
       this.withZoom,
       this.withLocalStorage,
-      this.withLocalUrl})
+      this.withLocalUrl,
+      this.scrollBar})
       : super(key: key);
 
   @override
@@ -70,7 +72,8 @@ class _WebviewScaffoldState extends State<WebviewScaffold> {
           rect: _rect,
           withZoom: widget.withZoom,
           withLocalStorage: widget.withLocalStorage,
-          withLocalUrl: widget.withLocalUrl);
+          withLocalUrl: widget.withLocalUrl,
+          scrollBar: widget.scrollBar);
     } else {
       Rect rect = _buildRect(context);
       if (_rect != rect) {