mirai_webview 0.1.0 copy "mirai_webview: ^0.1.0" to clipboard
mirai_webview: ^0.1.0 copied to clipboard

discontinuedreplaced by: stac_webview

A WebView Parser for Mirai. A wrapper of `webview_flutter` package for Mirai.

Mirai Web View #

A webView support for Mirai.

Usage #

  1. Add mirai_webview as a dependency in your pubspec.yaml file.

Install the plugin by running the following command from the project root:

flutter pub add mirai_webview

or add it manually in your pubspec.yaml file:

  dependencies:
    mirai_webview:
  1. Add MiraiWebViewParser in Mirai initialize.
void main() async {
  await Mirai.initialize(
    parsers: const [
      MiraiWebViewParser(),
    ],
  );

  runApp(const MyApp());
}
  1. Add Mirai WebView widget in your JSONs.
{
  "type": "webView",
  "url": "https://github.com/buildMirai/mirai"
}
9
likes
140
points
2
downloads

Publisher

verified publisherbuildmirai.dev

Weekly Downloads

A WebView Parser for Mirai. A wrapper of `webview_flutter` package for Mirai.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, freezed_annotation, json_annotation, mirai_framework, webview_flutter

More

Packages that depend on mirai_webview