createAndroidController function

WebViewController? createAndroidController()

Gets the Android WebViewController

This function demonstrates that the package uses webview_flutter_android which provides full Android support through native Android WebView.

Implementation

WebViewController? createAndroidController() {
  if (defaultTargetPlatform == TargetPlatform.android) {
    return WebViewController();
  }
  return null;
}