MethodChannelWebviewWinFloating class

An implementation of WebviewWinFloatingPlatform that uses method channels.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
webviewMap → Map<int, WeakReference<WinWebViewController>>
final

Methods

addScriptChannelByName(int webviewId, String channelName) → Future<void>
override
allowNavigationRequest(int webviewId, int requestId, bool isAllowed) → Future<void>
override
cancelNavigate(int webviewId) → Future<void>
override
canGoBack(int webviewId) → Future<bool>
override
canGoForward(int webviewId) → Future<bool>
override
clearCache(int webviewId) → Future<void>
override
clearCookies(int webviewId) → Future<bool>
override
create(int webviewId, {String? initialUrl, String? userDataFolder, String? profileName}) → Future<bool>
override
dispose(int webviewId) → Future<void>
override
enableJavascript(int webviewId, bool isEnable) → Future<void>
override
enableStatusBar(int webviewId, bool isEnable) → Future<void>
override
enableZoom(int webviewId, bool isEnable) → Future<void>
override
goBack(int webviewId) → Future<void>
override
goForward(int webviewId) → Future<void>
override
grantPermission(int webviewId, int deferralId, bool isGranted) → Future<void>
override
initMethodCallHandler() → void
loadHtmlString(int webviewId, String html, String? baseUrl) → Future<void>
override
loadUrl(int webviewId, String url) → Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDevTools(int webviewId) → Future<void>
override
registerWebView(int webviewId, WinWebViewController webview) → void
override
reload(int webviewId) → Future<void>
override
removeScriptChannelByName(int webviewId, String channelName) → Future<void>
override
requestFocus(int webviewId) → Future<void>
override
resume(int webviewId) → Future<void>
override
runJavaScript(int webviewId, String javaScriptString) → Future<void>
override
runJavaScriptReturningResult(int webviewId, String javaScriptString) → Future<Object>
override
setBackgroundColor(int webviewId, Color color) → Future<void>
override
setFullScreen(int webviewId, bool isFullScreen) → Future<void>
override
setHasNavigationDecision(int webviewId, bool hasNavigationDecision) → Future<void>
override
setUserAgent(int webviewId, String userAgent) → Future<bool>
override
setVisibility(int webviewId, bool isVisible) → Future<void>
override
suspend(int webviewId) → Future<void>
override
toString() → String
A string representation of this object.
inherited
unregisterWebView(int webviewId) → void
override
updateBounds(int webviewId, Offset offset, Size size, double devicePixelRatio) → Future<void>
override

Operators

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