stac_webview 0.2.0
stac_webview: ^0.2.0 copied to clipboard
A comprehensive WebView parser for Stac, serving as a wrapper for the `webview_flutter` package to seamlessly integrate web content within Stac applications.
Example #
- Add
stac_webview
as a dependency in your pubspec.yaml file.
dependencies:
stac_webview:
- Add
StacWebViewParser
in Stac initialize.
void main() async {
await Stac.initialize(
parsers: const [
StacWebViewParser(),
],
);
runApp(const MyApp());
}
- Add Stac WebView widget in your JSONs.
{
"type": "webView",
"url": "https://github.com/StacDev/stac"
}