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
Constructors
-
Creates a new PlatformNavigationDelegate
factory
- Used by the platform implementation to create a new 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
-
setOnHttpAuthRequest(
HttpAuthRequestCallback onHttpAuthRequest) → Future< void> - Invoked when the web view is requesting authentication.
-
setOnHttpError(
HttpResponseErrorCallback onHttpError) → Future< void> - Invoked when an HTTP error has occurred during loading.
- Invoked when a navigation request is pending.
-
setOnPageFinished(
PageEventCallback onPageFinished) → Future< void> - Invoked when a page has finished loading.
-
setOnPageStarted(
PageEventCallback onPageStarted) → Future< void> - Invoked when a page has started loading.
-
setOnProgress(
ProgressCallback onProgress) → Future< void> - Invoked when a page is loading to report the progress.
-
setOnUrlChange(
UrlChangeCallback onUrlChange) → Future< void> - Invoked when the underlying web view changes to a new url.
-
setOnWebResourceError(
WebResourceErrorCallback onWebResourceError) → 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