FlutterMacOSWebView class

Constructors

FlutterMacOSWebView({void onOpen()?, void onClose()?, void onPageStarted(String? url)?, void onPageFinished(String? url)?, void onWebResourceError(WebResourceError error)?})
Creates a FlutterMacOSWebView with the specified callbacks:

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<void>
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<void>
Opens WebView with specified params
toString() String
A string representation of this object.
inherited

Operators

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