WebViewConfig class

Constructors

WebViewConfig({Color? backgroundColor = Colors.transparent, int? height, int? width, WebViewGravity? gravity = WebViewGravity.center})
const

Properties

backgroundColor Color?
Background color of the WebView. Default: Colors.transparent. Example: 0xFFFFFFFF or Colors.white
final
gravity WebViewGravity?
Alignment of the WebView content inside its container. Default: WebViewGravity.center
final
hashCode int
The hash code for this object.
no setterinherited
height int?
Height of the WebView in pixels. Default: null - widget will expand to fill available space (match parent behavior)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int?
Width of the WebView in pixels. Default: null - widget will expand to fill available space (match parent behavior)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited