Compatibility
Current Baseline
Section titled “Current Baseline”| Package | Version |
|---|---|
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 |
Platform Baseline
Section titled “Platform Baseline”| Platform | Support | Implementation |
|---|---|---|
| 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 |
Maintenance Rules
Section titled “Maintenance Rules”When adding or aligning APIs (including upgrades of xue_hua_webview_platform_interface),
follow the landing order on Contributing:
implement every platform explicitly, prefer a real native implementation, throw
UnsupportedError when the engine cannot provide the feature, and use no-op only
for registration-style APIs already guarded by capability checks. Update the
capability matrix and platform API docs, then run format, analyze, tests, and
publish dry-run before release.
Release Order
Section titled “Release Order”Publish child platform packages first, then publish the main package after pub.dev can resolve them:
xue_hua_webview_platform_interfacexue_hua_webview_androidxue_hua_webview_wkwebviewxue_hua_webview_windowsxue_hua_webview_linuxxue_hua_webview_webxue_hua_webview