项目
在 GitHub 查看
abandoft/webview_all
关于
Webview for All Flutter Platform
网站与应用开发可以做什么
- Comprehensive support for all platforms
- Full compatibility with the webview_flutter API
- Widely used in established commercial applications
- Bidirectional asynchronous JavaScript communication
实测星标增长
- 24小时
- +1
- 7天
- +3
- 15天
- +4
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文WebView All
A WebView component for all Flutter platforms, compatible with the webview_flutter API.
| Platform | Support | Implementation |
|---|---|---|
| Android | API 24+ | WebView |
| iOS | 14.0+ | WKWebView |
| macOS | 11.0+ | WKWebView |
| Windows | Win10 1809+ | WebView2 |
| Linux | webkit2gtk-4.1 | WebKitGTK |
| OHOS | API 22+ | ArkWeb |
| Web | Any | js-interop |
Features
- Comprehensive support for all platforms
- Full compatibility with the
webview_flutterAPI - Widely used in established commercial applications
- Additional features:
- Bidirectional asynchronous JavaScript communication
- User scripts and isolated JavaScript worlds
- Navigation history, text search, and cookie management
- Desktop download controls and Windows debugging and shortcut settings
- Richer Web interactions and iframe configuration
- Website data cleanup without a controller
- Offscreen WebView sessions that can be explicitly closed
- Custom download handling and progress callbacks
Quick Start
- Instantiate a
WebViewController:
controller = WebViewController()
..setJavaScriptMode(JavaScriptMode.unrestricted)
..loadRequest(Uri.parse('https://flutter.dev'));
- Pass
controllertoWebViewWidget:
@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.
Who's Using It?
- Wildfire IM official Flutter client: A well-established commercial IM/RTC platform.
- GodotHub official client: A much-loved Godot community platform.
- PiliPlus: An open-source Bilibili client with 20K+ stars.
- Flet: An open-source framework for building web, desktop, and mobile apps in Python.
- Operit: An AI agent for all platforms.
- Miru new client: A popular video, manga, and novel aggregation app.
- SubDock desktop client: The official app for running and managing Sub-Store.
- OpenHarness desktop client: An AI workspace for coding agents and remote machines.
- AnymeX: A cross-platform anime and manga tracking client.
- ChessEver desktop client: A chess platform for live tournaments and game analysis.
- Dartotsu: A cross-platform anime, manga, and novel tracking client.
- Bili-music: A cross-platform music player for Bilibili.
- ShonenX: Discover anime, track your progress, and stream, all in one app.
- AFAN: An anime app with video slicing, web media detection, and custom playback sources.
探索相关项目
加载中…