mirai_webview 0.0.3 mirai_webview: ^0.0.3 copied to clipboard
A WebView Parser for Mirai. A wrapper of `webview_flutter` package for Mirai.
Example #
- Add
mirai_webview
as a dependency in your pubspec.yaml file.
dependencies:
mirai_webview:
- Add
MiraiWebViewParser
in Mirai initialize.
void main() async {
await Mirai.initialize(
parsers: const [
MiraiWebViewParser(),
],
);
runApp(const MyApp());
}
- Add Mirai WebView widget in your JSONs.
{
"type": "webView",
"url": "https://github.com/buildMirai/mirai"
}