webview_desktop/src/webview library

Classes

Webview

Typedefs

JavaScriptMessageHandler = void Function(String name, dynamic body)
Handle custom message from JavaScript in your app.
OnHistoryChangedCallback = void Function(bool canGoBack, bool canGoForward)
OnUrlRequestCallback = void Function(String url)
Callback when WebView start to load a URL. url is the URL string.
OnWebMessageReceivedCallback = void Function(String message)
Callback when WebView receives a web message message constains the webmessage
PromptHandler = String Function(String prompt, String defaultText)