PlatformWebViewController class abstract

Implementers

Constructors

PlatformWebViewController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addJavaScriptChannel(String name, {required void onMessageReceived(JavaScriptMessage)}) Future<void>
canGoBack() Future<bool>
canGoForward() Future<bool>
clearCache() Future<void>
clearMatches() Future<void>
dispose() Future<void>
enableZoom(bool enabled) Future<void>
findAllAsync(String find) Future<void>
findNext(bool forward) Future<void>
getHistory() Future<WebHistory>
getTitle() Future<String?>
goBack() Future<void>
goForward() Future<void>
loadHtmlString(String html, {String? baseUrl}) Future<void>
loadRequest(Uri url, {Map<String, String>? headers}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFileSelected(List<String>? uris) Future<void>
printCurrentPage() Future<void>
reload() Future<void>
removeJavaScriptChannel(String name) Future<void>
runJavaScript(String javaScript) Future
runJavaScriptReturningResult(String javaScript) Future
setCacheMode(CacheMode cacheMode) Future<void>
setContentBlockers(List<ContentBlocker> blockers) Future<void>
setDarkMode(bool enabled) Future<void>
setDesktopMode(bool enabled) Future<void>
setInitialScale(int scaleInPercent) Future<void>
setJavaScriptMode(JavaScriptMode javaScriptMode) Future<void>
setMediaPlaybackRequiresUserGesture(bool required) Future<void>
setNavigationDelegate(NavigationDelegate delegate) → void
setOnCreateWindow(Future<bool> onCreateWindow(CreateWindowAction action)?) → void
setOnGeolocationPermissionsShowPrompt(Future<GeolocationPermissionResponse?> onGeolocationPermissionsShowPrompt(String origin)?) → void
setOnJavaScriptAlertDialog(Future<void> onJavaScriptAlertDialog(JavaScriptAlertDialogRequest request)?) → void
setOnJavaScriptConfirmDialog(Future<bool> onJavaScriptConfirmDialog(JavaScriptConfirmDialogRequest request)?) → void
setOnJavaScriptTextInputDialog(Future<String?> onJavaScriptTextInputDialog(JavaScriptTextInputDialogRequest request)?) → void
setOnPlatformPermissionRequest(void onPlatformPermissionRequest(PlatformPermissionRequest request)?) → void
setOnReceivedHttpAuthRequest(Future<HttpAuthResponse?> onReceivedHttpAuthRequest(HttpAuthChallenge challenge)?) → void
setOnScrollChanged(void onScrollChanged(int x, int y)?) → void
setOnUrlSchemeChange(void onUrlSchemeChange(String url)?) → void
setTextSelectionEnabled(bool enabled) Future<void>
setUserAgent(String? userAgent) Future<void>
takeScreenshot() Future<Uint8List?>
toString() String
A string representation of this object.
inherited

Operators

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