WebViewAndroidWidget constructor

const WebViewAndroidWidget({
  1. required CreationParams creationParams,
  2. required bool useHybridComposition,
  3. required WebViewPlatformCallbacksHandler callbacksHandler,
  4. required JavascriptChannelRegistry javascriptChannelRegistry,
  5. required Widget onBuildWidget(
    1. WebViewAndroidPlatformController controller
    ),
  6. @visibleForTesting WebViewProxy webViewProxy = const WebViewProxy(),
  7. @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(),
});