PlatformNavigationDelegate class abstract

An interface defining navigation events that occur on the native platform.

The PlatformWebViewController is notifying this delegate on events that happened on the platform's webview. Platform implementations should implement this class and pass an instance to the PlatformWebViewController.

Inheritance
  • Object
  • PlatformInterface
  • PlatformNavigationDelegate

Properties

hashCode int
The hash code for this object.
no setterinherited
params PlatformNavigationDelegateCreationParams
The parameters used to initialize the PlatformNavigationDelegate.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOnNavigationRequest(FutureOr<bool> onNavigationRequest({required bool isForMainFrame, required String url})) Future<void>
Invoked when a navigation request is pending.
setOnPageFinished(void onPageFinished(String url)) Future<void>
Invoked when a page has finished loading.
setOnPageStarted(void onPageStarted(String url)) Future<void>
Invoked when a page has started loading.
setOnProgress(void onProgress(int progress)) Future<void>
Invoked when a page is loading to report the progress.
setOnWebResourceError(void onWebResourceError(WebResourceError error)) Future<void>
Invoked when a resource loading error occurred.
toString() String
A string representation of this object.
inherited

Operators

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