WebView for Flutter used x5 core

pub package

参考 webview_flutter_x5 和 x5_webview ,在其基础上增加 手动安装X5 SDK的功能, 通过获取版本号

Using Hybrid Composition

  1. 设置最小SDK
android {
    defaultConfig {
        minSdkVersion 19
    }
}

This means that app will only be available for users that run Android SDK 19 or higher.

  1. To enable hybrid composition, set WebView.platform = SurfaceAndroidWebView(); in initState(). For example:

Enable Material Components for Android

To use Material Components when the user interacts with input elements in the WebView, follow the steps described in the Enabling Material Components instructions.