flutter_fai_webview 1.1.6
flutter_fai_webview: ^1.1.6 copied to clipboard

Flutter Android iOS

Flutter 加载 Html 并实现 JS 双向交互插件,可通过url来加载网络HTML页面,也可通过String来加载本地资源目录下的静态HTML或者是接口请求回来的Html数据,Flutter 与 Html的双向调用

example/lib/main.dart

import 'package:flutter/material.dart';

import 'exampl_index.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("FaiWebViewWidget 加载 html"),
        ),
        body: IndexPage(),
      ),
    );
  }
}
3
likes
75
pub points
57%
popularity

Flutter 加载 Html 并实现 JS 双向交互插件,可通过url来加载网络HTML页面,也可通过String来加载本地资源目录下的静态HTML或者是接口请求回来的Html数据,Flutter 与 Html的双向调用

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

928343994@qq.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_fai_webview