stac_webview 0.1.2 copy "stac_webview: ^0.1.2" to clipboard
stac_webview: ^0.1.2 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.

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
copied to clipboard

or add it manually in your pubspec.yaml file:

  dependencies:
    stac_webview:
copied to clipboard
  1. Add StacWebViewParser in Stac initialize.
void main() async {
  await Stac.initialize(
    parsers: const [
      StacWebViewParser(),
    ],
  );

  runApp(const MyApp());
}
copied to clipboard
  1. Add Stac WebView widget in your JSONs.
{
  "type": "webView",
  "url": "https://github.com/StacDev/stac"
}
copied to clipboard
2
likes
150
points
57
downloads

Publisher

verified publisherstac.dev

Weekly Downloads

2024.09.25 - 2025.04.09

A comprehensive WebView parser for Stac, serving as a wrapper for the `webview_flutter` package to seamlessly integrate web content within Stac applications.

Repository (GitHub)
Contributing

Topics

#ui #widget #server-driven-ui #dynamic-widgets #webview-flutter

Documentation

API reference

License

MIT (license)

Dependencies

flutter, freezed_annotation, json_annotation, stac_framework, webview_flutter

More

Packages that depend on stac_webview