Stac Web View
A webView support for Stac.
Usage
- Add
stac_webview
as a dependency in your pubspec.yaml file.
Install the plugin by running the following command from the project root:
flutter pub add stac_webview
or add it manually 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"
}