兼容性
| 包 | 版本 |
|---|---|
xue_hua_webview |
1.1.0 |
xue_hua_webview_windows |
1.0.3 |
xue_hua_webview_linux |
1.0.2 |
xue_hua_webview_web |
1.0.2 |
xue_hua_webview_platform_interface |
1.0.2 |
xue_hua_webview_android |
1.1.0 |
xue_hua_webview_wkwebview |
1.1.0 |
| Flutter SDK | >=3.35.0 |
| Dart SDK | ^3.9.0 |
| 系统 | 支持情况 | 技术实现 |
|---|---|---|
| Android | API 24+ | WebView |
| iOS | 13.0+ | WKWebView |
| macOS | 10.15+ | WKWebView |
| Windows | Win10 1809+ | WebView2 |
| Linux | webkit2gtk-4.1 | WebKitGTK |
| Web | Any | js-interop |
新增或对齐 API(包括升级 xue_hua_webview_platform_interface)时,按
贡献与规范
落地:各平台显式实现,引擎支持时优先真实 native,做不到抛 UnsupportedError,
只有已有能力检查保护的注册型 API 才允许 no-op。同步更新能力矩阵和平台 API
文档,发布前跑 format、analyze、tests 和 publish dry-run。
先发布各平台的子包,pub.dev 能解析后再发布主包:
xue_hua_webview_platform_interfacexue_hua_webview_androidxue_hua_webview_wkwebviewxue_hua_webview_windowsxue_hua_webview_linuxxue_hua_webview_webxue_hua_webview