Skip to content

Compatibility

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 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

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.

Publish child platform packages first, then publish the main package after pub.dev can resolve them:

  1. xue_hua_webview_platform_interface
  2. xue_hua_webview_android
  3. xue_hua_webview_wkwebview
  4. xue_hua_webview_windows
  5. xue_hua_webview_linux
  6. xue_hua_webview_web
  7. xue_hua_webview