搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫abandoft/webview_all

webview_all

適用於所有 Flutter 平台的 WebView

webview_all 專案封面
星標
58
分支
23
最近推送(UTC)
2026年9月1日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

WebView All

English Doc | 中文文档

A WebView component for all Flutter platforms, compatible with the webview_flutter API.

Platform Support Implementation
Android API 24+ WebView
iOS 13.0+ WKWebView
macOS 10.15+ WKWebView
Windows Win10 1809+ WebView2
Linux webkit2gtk-4.1 WebKitGTK
OHOS API 12+ ArkWeb
Web Any js-interop

Features

  • Comprehensive support for all platforms
  • Full compatibility with the webview_flutter API
  • Additional features:
    • Promise-aware JavaScript calls
    • Document-start user scripts
    • Website data cleanup without a controller
    • Deterministically closable offscreen sessions
    • ......

Quick Start

  1. Instantiate a WebViewController:
controller = WebViewController()
  ..setJavaScriptMode(JavaScriptMode.unrestricted)
  ..loadRequest(Uri.parse('https://flutter.dev'));
  1. Pass controller to WebViewWidget:
@override
Widget build(BuildContext context) {
  return Scaffold(
    appBar: AppBar(title: const Text('Flutter Simple Example')),
    body: WebViewWidget(controller: controller),
  );
}

For detailed usage, API coverage, and platform limits, see the Documentation.

Abandoft GitHub avatar
GitHub 作者

Abandoft ↗

語言DartSwiftC++KotlinJavaCMakePythonCShellTypeScriptHTMLRubyObjective-C

分類

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗