MethodChannelWebviewWinFloating class
An implementation of WebviewWinFloatingPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- WebviewWinFloatingPlatform
- MethodChannelWebviewWinFloating
Constructors
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
-
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}) → Future< bool> -
override
-
dispose(
int webviewId) → Future< void> -
override
-
enableJavascript(
int webviewId, bool isEnable) → Future< void> -
override
-
goBack(
int webviewId) → Future< void> -
override
-
goForward(
int webviewId) → Future< void> -
override
-
loadHtmlString(
int webviewId, String html) → 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< String> -
override
-
setBackgroundColor(
int webviewId, Color color) → Future< void> -
override
-
setFullScreen(
int webviewId, bool isFullScreen) → Future< void> -
override
-
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