v1.4.0
native_webview
Android および iOS で WebView ウィジェットを提供する Flutter プラグインです。
29いいね 8930日間ダウンロード130Pub ポイント
AndroidiOS
インライン WebView を追加できる Flutter プラグインです。
{"sdk":"flutter"}{"sdk":"flutter"}^1.11.0以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
A Flutter plugin that allows you to add an inline WebView.
There is already a useful library for working with WebViews in Flutter.
These libraries come with trade-offs such as simple implementation but lack features, or very advanced features and complex implementation.
native_webview is designed to provide users with a standard set of WebView features provided by iOS and Android while keeping the implementation simple.
class InitialUrlScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Initial URL"),
),
body: WebView(
initialUrl: "https://flutter.dev",
),
);
}
}
If you want to see other examples, see example or see DartDoc.
make test