xbr_x5_webview 1.0.3 copy "xbr_x5_webview: ^1.0.3" to clipboard
xbr_x5_webview: ^1.0.3 copied to clipboard

A Flutter plugin that provides a WebView widget on Android and iOS which Android's core is tencent x5.

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.

0
likes
55
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that provides a WebView widget on Android and iOS which Android's core is tencent x5.

Documentation

API reference

License

MulanPSL-2.0 (license)

Dependencies

flutter

More

Packages that depend on xbr_x5_webview

Packages that implement xbr_x5_webview