WebSettings constructor
WebSettings({
- JavascriptMode? javascriptMode,
- bool? hasProgressTracking,
- bool? debuggingEnabled,
- bool? allowsInlineMediaPlayback,
- required WebSetting<
String?> userAgent,
Construct an instance with initial settings. Future setting changes can be
sent with WebviewPlatform#updateSettings
.
The userAgent
parameter must not be null.
Implementation
WebSettings({
this.javascriptMode,
this.hasNavigationDelegate,
this.hasProgressTracking,
this.debuggingEnabled,
this.gestureNavigationEnabled,
this.allowsInlineMediaPlayback,
required this.userAgent,
});