InAppWebViewController.fromPlatform constructor

InAppWebViewController.fromPlatform({
  1. required PlatformInAppWebViewController platform,
})

Constructs a InAppWebViewController from a specific platform implementation.

Implementation

InAppWebViewController.fromPlatform({required this.platform}) {
  android = AndroidInAppWebViewController(controller: this.platform);
  ios = IOSInAppWebViewController(controller: this.platform);
}