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