WebViewControllerExtension extension

Extension methods for WebViewController providing navigation control.

This extension adds synchronous and asynchronous navigation methods for going back, forward, and loading new URLs.

on

Methods

go({required Uri uri}) Future<void>

Available on WebViewController, provided by the WebViewControllerExtension extension

Loads the specified uri in the WebView (asynchronous version).
goBack() Future<void>

Available on WebViewController, provided by the WebViewControllerExtension extension

Navigates back in the WebView's history (asynchronous version).
goBackSync() → void

Available on WebViewController, provided by the WebViewControllerExtension extension

Navigates back in the WebView's history (synchronous version).
goForward() Future<void>

Available on WebViewController, provided by the WebViewControllerExtension extension

Navigates forward in the WebView's history (asynchronous version).
goForwardSync() → void

Available on WebViewController, provided by the WebViewControllerExtension extension

Navigates forward in the WebView's history (synchronous version).
goSync({required Uri uri}) → void

Available on WebViewController, provided by the WebViewControllerExtension extension

Loads the specified uri in the WebView (synchronous version).