FlutterMultipleWebviewPlugin class

Singleton class that communicate with a Webview Instance


hashCode int
The hash code for this object.
no setterinherited
onBack Stream<Null>
Listening the back key press Event for Android
no setter
onConsoleMessage Stream<ConsoleMessage>
Listening web view console message
no setter
onCrashError Stream<WebViewCrashError>
no setter
onDestroy Stream<Null>
Listening the OnDestroy LifeCycle Event for Android
no setter
onHttpError Stream<WebViewHttpError>
no setter
onProgressChanged Stream<IdValueDouble>
Listening web view loading progress estimation, value between 0.0 and 1.0
no setter
onScrollXChanged Stream<IdValueDouble>
Listening web view x position scroll change
no setter
onScrollYChanged Stream<IdValueDouble>
Listening web view y position scroll change
no setter
onStateChanged Stream<WebViewStateChanged>
Listening the onState Event for iOS WebView and Android content is Map for type: {shouldStart(iOS)|startLoad|finishLoad} more detail than other events
no setter
onUrlChanged Stream<IdValueString>
Listening url changed
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


canGoBack({String id = '1'}) Future<bool>
Checks if webview can navigate back
canGoForward({String id = '1'}) Future<bool>
Checks if webview can navigate back
cleanCookies({String id = '1'}) Future<void>
clearCache({String id = '1'}) Future<void>
close({String id = '1', String channelName = 'handleJs'}) Future<void>
Close the Webview Will trigger the onDestroy event
dispose() → void
Close all Streams
evalJavascript(String code, {String id = '1'}) Future<String?>
Execute Javascript inside webview
getCookies({String id = '1'}) Future<Map<String, String>>
goBack({String id = '1'}) Future<void>
Navigates back on the Webview.
goForward({String id = '1'}) Future<void>
Navigates forward on the Webview.
hide({String id = '1'}) Future<void>
isWebViewAlive({String id = '1'}) Future<bool>
launch(String url, {String id = '1', Map<String, String>? headers, Set<JavascriptChannel> javascriptChannels = const <JavascriptChannel>{}, bool withJavascript = true, bool clearCache = false, bool clearCookies = false, bool mediaPlaybackRequiresUserGesture = true, bool hidden = false, bool enableAppScheme = true, Rect? rect, String? userAgent, bool withZoom = false, bool displayZoomControls = false, bool withLocalStorage = true, bool withLocalUrl = false, String? localUrlScope, bool withOverviewMode = false, bool scrollBar = true, bool supportMultipleWindows = false, bool appCacheEnabled = false, bool allowFileURLs = false, bool useWideViewPort = false, String? invalidUrlRegex, bool geolocationEnabled = false, bool debuggingEnabled = false, bool ignoreSSLErrors = false, bool? allowsInlineMediaPlayback, bool androidOverScrollNever = false, bool transparentBackground = true, bool iosContentInsetAdjustmentBehaviorNever = false, bool disableSystemFontSize = true, bool iosDisableLinkPreview = false}) Future<void>
Start the Webview with url
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
reload({String id = '1'}) Future<void>
Reloads the WebView.
reloadUrl(String url, {Map<String, String>? headers, String id = '1'}) Future<void>
resize(Rect rect, {String id = '1'}) Future<void>
resize webview
show({String id = '1'}) Future<void>
stopLoading({String id = '1'}) Future<void>
toString() String
A string representation of this object.


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