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