Stac Web View

A webView support for Stac.

Usage

  1. 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:
  1. Add StacWebViewParser in Stac initialize.
void main() async {
  await Stac.initialize(
    parsers: const [
      StacWebViewParser(),
    ],
  );

  runApp(const MyApp());
}
  1. Add Stac WebView widget in your JSONs.
{
  "type": "webView",
  "url": "https://github.com/StacDev/stac"
}