Mirai Web View
A webView support for Mirai.
Usage
- 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"
}