AndroidWebViewFeature constructor

AndroidWebViewFeature(
  1. PlatformWebViewFeatureCreationParams params
)

Creates a new AndroidWebViewFeature.

Implementation

AndroidWebViewFeature(PlatformWebViewFeatureCreationParams params)
    : super.implementation(
        params is AndroidWebViewFeatureCreationParams
            ? params
            : AndroidWebViewFeatureCreationParams
                .fromPlatformWebViewFeatureCreationParams(params),
      ) {
  channel = const MethodChannel(
      'com.pichillilorenzo/flutter_inappwebview_webviewfeature');
  handler = handleMethod;
  initMethodCallHandler();
}