flutter_fai_webview 1.3.2 flutter_fai_webview: ^1.3.2 copied to clipboard
Flutter 加载 Html 并实现 JS 双向交互插件
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(),
),
);
}
}