MacOSWebView class

Constructors

MacOSWebView({void onOpen()?, void onClose()?, void onPageStarted(String? url)?, void onPageFinished(String? url)?, void onWebResourceError(WebResourceError error)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onClose → (void Function()?)
final
onOpen → (void Function()?)
final
onPageFinished → (void Function(String? url)?)
final
onPageStarted → (void Function(String? url)?)
final
onWebResourceError → (void Function(WebResourceError error)?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<bool?>
Closes WebView
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open({required String url, bool javascriptEnabled = true, PresentationStyle presentationStyle = PresentationStyle.sheet, Size? size, String? userAgent, String modalTitle = '', String sheetCloseButtonTitle = 'Close'}) Future<bool?>
toString() String
A string representation of this object.
inherited

Operators

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