WebSettings class
Constructors
- WebSettings({JavascriptMode javascriptMode = JavascriptMode.unrestricted, bool enabledDebugging = false, bool allowsInlineMediaPlayback = true, bool allowsAutoMediaPlayback = true, bool enabledZoom = true, })
Properties
- allowsAutoMediaPlayback → bool
-
final
- allowsInlineMediaPlayback → bool
-
Supports only ios
final
-
Supports only ios
解决ios16以上部分webview无法加载
final
- enabledDebugging → bool
-
Supports only android
开启debug
final
-
navigationDelegate
getter/setter pair
- enabledProgressChanged ↔ bool
-
加载进度变化回调
getter/setter pair
- enabledScrollChanged ↔ bool
-
是否开启滚动变化回调
getter/setter pair
- enabledZoom → bool
-
final
- enableSizeChanged ↔ bool
-
是否开启webview变化回调
getter/setter pair
-
Supports only ios
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- javascriptMode → JavascriptMode
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited