WebviewScaffold constructor
const
WebviewScaffold({
- Key? key,
- PreferredSizeWidget? appBar,
- required String url,
- Map<
String, String> ? headers, - Set<
JavascriptChannel> javascriptChannels = const <JavascriptChannel>{}, - bool withJavascript = true,
- bool clearCache = false,
- bool clearCookies = false,
- bool mediaPlaybackRequiresUserGesture = true,
- bool enableAppScheme = true,
- String? userAgent,
- bool primary = true,
- bool withZoom = false,
- bool displayZoomControls = false,
- bool withLocalStorage = true,
- bool withLocalUrl = false,
- String? localUrlScope,
- bool withOverviewMode = false,
- bool useWideViewPort = false,
- bool scrollBar = true,
- bool supportMultipleWindows = false,
- bool appCacheEnabled = false,
- Widget? initialChild,
- bool allowFileURLs = false,
- bool resizeToAvoidBottomInset = false,
- String? invalidUrlRegex,
- bool geolocationEnabled = false,
- bool debuggingEnabled = false,
- bool ignoreSSLErrors = false,
Implementation
const WebviewScaffold({
Key? key,
this.appBar,
required this.url,
this.headers,
this.javascriptChannels = const <JavascriptChannel>{},
this.withJavascript = true,
this.clearCache = false,
this.clearCookies = false,
this.mediaPlaybackRequiresUserGesture = true,
this.enableAppScheme = true,
this.userAgent,
this.primary = true,
this.persistentFooterButtons,
this.bottomNavigationBar,
this.withZoom = false,
this.displayZoomControls = false,
this.withLocalStorage = true,
this.withLocalUrl = false,
this.localUrlScope,
this.withOverviewMode = false,
this.useWideViewPort = false,
this.scrollBar = true,
this.supportMultipleWindows = false,
this.appCacheEnabled = false,
this.hidden = false,
this.initialChild,
this.allowFileURLs = false,
this.resizeToAvoidBottomInset = false,
this.invalidUrlRegex,
this.geolocationEnabled = false,
this.debuggingEnabled = false,
this.ignoreSSLErrors = false,
}) : super(key: key);