webview_all library
Drop-in compatibility barrel for package:webview_all/webview_all.dart.
Replace import 'package:webview_all/webview_all.dart'; with
import 'package:webview_core/webview_all.dart'; to eliminate federated
transitive packages while preserving WebViewController, WebViewWidget,
JavaScriptMode, and NavigationDelegate.
Classes
- JavaScriptMessage
-
Message received from JavaScript over a named channel registered via
WebViewController.addJavaScriptChannel. -
Delegate grouping page lifecycle, progress, error, and navigation callbacks
for a
WebViewController. - Details describing a navigation action intercepted by NavigationDelegate.
- UrlChange
- Notification payload delivered when the active URL of a WebView changes.
- WebResourceError
- Structured resource loading error reported by a native or web engine.
- WebViewController
-
Controller for a cross-platform
WebViewWidgetacross Android, iOS, Linux, macOS, Windows, and Web / WebAssembly. - WebViewCookie
-
HTTP cookie descriptor managed through
WebViewCookieManager. - WebViewCookieManager
- Manages HTTP cookies shared by WebView instances across supported platforms.
- WebViewCreationParams
- Internal snapshot of controller configuration passed at view creation time.
- WebViewWidget
- Cross-platform widget rendering a native or browser WebView controlled by controller.
Enums
- JavaScriptMode
- Controls whether JavaScript execution is allowed inside a WebView.
- LoadRequestMethod
-
HTTP request method used by
WebViewController.loadRequest. - Policy decision returned by a NavigationRequestCallback.
- WebResourceErrorType
- Categorized error types reported by WebResourceError.
Typedefs
- Signature for navigation policy callbacks returning a NavigationDecision.
- PageEventCallback = void Function(String url)
-
Signature for page lifecycle callbacks receiving the current
url. - ProgressCallback = void Function(int progress)
-
Signature for loading progress callbacks receiving
progress(0..100). - UrlChangeCallback = void Function(UrlChange change)
-
Signature for URL change callbacks receiving
change. - WebResourceErrorCallback = void Function(WebResourceError error)
-
Signature for resource failure callbacks receiving
error. - WebView = WebViewWidget
- Shorthand alias for WebViewWidget.