AppWebView constructor
const
AppWebView({
- Key? key,
- WebViewLoadType type = WebViewLoadType.url,
- required String value,
- WebViewCreatedCallback? onWebViewCreated,
- List<
WebViewCookie> initialCookies = const <WebViewCookie>[], - JavascriptMode javascriptMode = JavascriptMode.disabled,
- Set<
JavascriptChannel> ? javascriptChannels, - Set<
Factory< ? gestureRecognizers,OneSequenceGestureRecognizer> > - PageStartedCallback? onPageStarted,
- PageFinishedCallback? onPageFinished,
- PageLoadingCallback? onProgress,
- WebResourceErrorCallback? onWebResourceError,
- bool debuggingEnabled = false,
- String? userAgent,
- bool zoomEnabled = true,
- AutoMediaPlaybackPolicy initialMediaPlaybackPolicy = AutoMediaPlaybackPolicy.require_user_action_for_all_media_types,
- bool allowsInlineMediaPlayback = false,
- Color? backgroundColor,
Implementation
const AppWebView({
Key? key,
this.type = WebViewLoadType.url,
required this.value,
this.onWebViewCreated,
this.initialCookies = const <WebViewCookie>[],
this.javascriptMode = JavascriptMode.disabled,
this.javascriptChannels,
this.navigationDelegate,
this.gestureRecognizers,
this.onPageStarted,
this.onPageFinished,
this.onProgress,
this.onWebResourceError,
this.debuggingEnabled = false,
this.gestureNavigationEnabled = false,
this.userAgent,
this.zoomEnabled = true,
this.initialMediaPlaybackPolicy =
AutoMediaPlaybackPolicy.require_user_action_for_all_media_types,
this.allowsInlineMediaPlayback = false,
this.backgroundColor,
}) : super(key: key);