FLUTTER ECOSYSTEM

abandoft/webview_all

모든 플러터 플랫폼용 웹뷰

webview_all 프로젝트 이미지
Stars
58
Forks
23
최근 푸시(UTC)
2026. 9. 1.
프로젝트 상태
활성
Abandoft GitHub avatar
GITHUB Organization

Abandoft ↗

언어DartSwiftC++KotlinJavaCMakePythonCShellTypeScriptHTMLRubyObjective-C

기술 주제

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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.