From 8b8cb80849a9aa1996d4fac3f82ecc1856def3ad Mon Sep 17 00:00:00 2001 From: Daksh Vasudev Date: Sat, 11 Jan 2025 14:07:39 +0530 Subject: [PATCH] docs: mirai webView --- website/docs/widgets/webview.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 website/docs/widgets/webview.md diff --git a/website/docs/widgets/webview.md b/website/docs/widgets/webview.md new file mode 100644 index 00000000..2b138644 --- /dev/null +++ b/website/docs/widgets/webview.md @@ -0,0 +1,19 @@ +# WebView + +Mirai webView allows you to embed a web view of any link in your Flutter app using JSON, similar to the Flutter WebView package using JSON. +To know more about the WebView package in Flutter, refer to the [official documentation](https://pub.dev/packages/webview_flutter). + +## Properties + +| Property | Type | Description | +| -------- | -------- | ----------------------------------- | +| url | `string` | The URL to be loaded in the WebView | + +## Example JSON + +```json +{ + "type": "webView", + "url": "https://github.com/buildMirai/mirai" +} +```