WebViewAndroidWidget constructor
const
WebViewAndroidWidget({
- 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(),
Constructs a WebViewAndroidWidget.
Implementation
const WebViewAndroidWidget({
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(),
});