stac_core
1.6.0, released 2 months ago by stac.dev
Core library for the Stac server‑driven UI framework, providing models, interfaces, and utilities.
What it does
It defines the core data models, interfaces, and common utilities that other Stac packages depend on. The package is pure Dart and works across all Flutter platforms.
AI-written summary of version 1.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a Stac‑based server‑driven UI
- Extending Stac with custom widgets or models
- Creating a new Stac package that needs the core interfaces
Skip it when
- You are not using the Stac framework
- You need a full widget set or UI kit
Strengths
- Provides a single source of truth for Stac models
- Pure Dart – no native platform code
- MIT license and minimal dependencies
Weaknesses
- No UI widgets or visual components
- Only useful when paired with other Stac packages
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 2
Alternatives
Packages that do the same job and could replace stac_core.
- a2ui_flutter
Renders AI-generated A2UI surfaces as Flutter widgets.
84Compare - yaru
Flutter widgets and theme following the Yaru design language for desktop and web.
83Compare - flutter_chat_core
Core data models, controllers, and utilities for the Flyer Chat ecosystem.
83Compare - bones_ui
An intuitive and user-friendly Web User Interface framework for Dart.
73Compare
Works with
Packages commonly used together with stac_core: ones it builds on, ones built on it, and its own family.
- json_annotationstac_core depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- stac_loggerstac_core depends on itLightweight logging utility for the Stac framework that works across all platforms.
- stac_frameworkSame familyEnables easy creation of custom parsers for widgets and actions in server-driven UI implementations.
- stacBuilt on stac_coreA Server-Driven UI framework for Flutter that renders JSON payloads into native widgets.