WebViewAndroidWidget constructor
const
WebViewAndroidWidget({
- Key? key,
- required CreationParams creationParams,
- required bool useHybridComposition,
- required WebViewPlatformCallbacksHandler callbacksHandler,
- required JavascriptChannelRegistry javascriptChannelRegistry,
- required Widget onBuildWidget(
- WebViewAndroidPlatformController controller
- @visibleForTesting WebViewProxy webViewProxy = const WebViewProxy(),
- @visibleForTesting FlutterAssetManager flutterAssetManager = const android_webview.FlutterAssetManager(),
- @visibleForTesting WebStorage? webStorage,
Constructs a WebViewAndroidWidget.
Implementation
const WebViewAndroidWidget({
Key? key,
required this.creationParams,
required this.useHybridComposition,
required this.callbacksHandler,
required this.javascriptChannelRegistry,
required this.onBuildWidget,
@visibleForTesting this.webViewProxy = const WebViewProxy(),
@visibleForTesting
this.flutterAssetManager = const android_webview.FlutterAssetManager(),
@visibleForTesting this.webStorage,
}) : super(key: key);