WebSettings constructor
WebSettings({
- JavascriptMode? javascriptMode,
- bool? hasProgressTracking,
- bool? debuggingEnabled,
- bool? allowsInlineMediaPlayback,
- bool? zoomEnabled,
- bool? geolocationEnabled,
- 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,
this.zoomEnabled,
this.geolocationEnabled,
required this.userAgent,
}) : assert(userAgent != null);