flutter_fai_webview 1.1.0 flutter_fai_webview: ^1.1.0 copied to clipboard
Flutter 加载 Html 并实现 JS 双向交互插件,可通过url来加载网络HTML页面,也可通过String来加载本地资源目录下的静态HTML或者是接口请求回来的Html数据
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_fai_webview
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_fai_webview: ^1.1.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_fai_webview/flutter_fai_webview.dart';