stac_core
A pure Dart package that provides the core functionalities and common interfaces for the Stac server-driven UI framework.
1.5.0
7.8K downloads/mo
#3282 most downloaded on pub.dev
StacDev/stac
What this package is like to depend on
Last release 3 months ago
20 May 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 8 of 8 stable releases
Nothing withdrawn
no release was ever pulled
11 months old
8 releases · first in 2025
8 releases in the last 12 months
see the full history below
Release timeline
8 releases · Sep 2025 to May 2026Releases
latest 8-
1.5.020 May 2026Release notes
Open source →What's Changed
- fix(stac_cli): Update workflow to fix Missing required environment variable: STAC_BASE_API_URL. by @divyanshub024 in #465
- Use DropdownMenuEntry for type safety by @jogendra-flutter in #452
- feat: Stac VS Code Plugin by @divyanshub024 in #448
- refactor(stac-vscode): update the Stac Live Preview image link & version bump to 0.2.0 by @divyanshub024 in #466
- fix(stac_cli): remove snake case conversion by @Potatomonsta in #467
- feat(deploy_service): add console URL logging for successful deployments by @Potatomonsta in #468
- chore(stac_cli): update cli version to 1.6.0 by @divyanshub024 in #469
- chore(stac-vscode): bump version to 0.3.0 and update stac dependency by @divyanshub024 in #470
- docs: add conceptual documentation for Stac Registry by @Shonu72 in #473
- docs: enhance widget documentation with playground examples and JSON structures by @Potatomonsta in #474
- Update Stac parsers and core models by @divyanshub024 in #475
- feat: Add support for the NavigationBar widget by @divyanshub024 in #476
- Integrate flutter_validators for form field validation by @divyanshub024 in #477
- chore: Prepare stac 1.5.0 release by @divyanshub024 in #478
- @jogendra-flutter made their first contribution in #452
- @Shonu72 made their first contribution in #473
New Contributors
Full Changelog: v1.4.0...v1.5.0
Release notes
Open source →- Added
StacDefaultNavigationController,StacNavigationBar,StacNavigationView, andStacNavigationDestinationmodels for Material 3 navigation. - Added
maskinput formatter support. - Added validator
optionsfor parameterized form validation rules. - Added text decoration line support to
StacTextStyle. - Added
floatingLabelBehaviorsupport toStacInputDecoration.
-
1.4.002 Mar 2026Release notes
Open source →What's Changed
- feat: add stac agent skills by @divyanshub024 in #444
- docs: add skills documentation by @divyanshub024 in #446
- feat: enhance input decoration with new border options by @divyanshub024 in #449
- feat(stac, stac_core): add copyWith support to textTheme by @divyanshub024 in #450
- feat(stac): re-export stac_core through stac package by @divyanshub024 in #455
- feat(stac_cli): Open-sourcing Stac CLI by @divyanshub024 in #456
- feat(stac_cli): Add stac_cli release workflow by @divyanshub024 in #458
- feat: Migrate linting from
flutter_lintstolints/recommended, update dev dependencies, and ignorepubspec_overrides.yamlfiles. by @divyanshub024 in #460 - refactor: convert stac_logger to a pure Dart package by @divyanshub024 in #461
- docs: improve package READMEs with quick start guides & detailed features by @divyanshub024 in #462
- Fix formatting in README.md by @divyanshub024 in #463
Full Changelog: v1.2.0...v1.4.0
Release notes
Open source →- Added new border option models for input decoration (
StacInputBorder, etc).- Added
copyWithmethod toStacThemeTextStylemodel.
- Added
Release notes
Open source →- Added stac agent skills
- Enhanced input decoration with new border options
- Added
copyWithsupport totextTheme - Re-exported
stac_corethroughstacpackage - Converted
stac_loggerto a pure Dart package - Improved package READMEs with quick start guides & detailed features
-
1.3.003 Feb 2026Release notes
Open source →- Added
StacSliverToBoxAdapterwidget model - Added
StacSliverPaddingwidget model - Added
StacSliverSafeAreawidget model - Added
StacSliverOpacitywidget model - Added
StacSliverVisibilitywidget model - Added
StacSliverListwidget model - Added
StacSliverFillRemainingwidget model - Added
StacSliverGridwidget model
Release notes
Open source →Refactor
- Centralized cache configuration to
Stac.initializewithnetworkFirstas the default cache strategy
New Features
- Added DSL entry to documentation JSON
- Added
stacSliverToBoxAdapterwidget, parser, example, and documentation - Added
stacSliverPaddingwidget, parser, example, and documentation - Added
stacSliverSafeAreawidget, parser, example, and documentation - Added
stacSliverOpacitywidget, parser, example, and documentation - Added
stacSliverVisibilitywidget, parser, example, and documentation - Added
stacSliverListwidget, parser, example, and documentation - Added
stacSliverFillRemainingwidget, parser, example, and documentation - Added
stacSliverGridwidget, parser, example, and documentation - Enhanced
Positionedwidget with new constructors - Added constructors for
StacImagewidget to support asset, network, and file sources - Added StacNavigator API and navigation documentation
Documentation
- Comprehensive documentation improvements with Dart examples
- Added Dart code examples and wrapped all examples in a CodeGroup component for sliver widget documentation
- Added
-
1.2.012 Jan 2026Release notes
Open source →What's Changed
- feat: Add Screen Caching & Offline Support to Stac by @divyanshub024 in #386
- Export the new stac action and widget parsers extension method by @divyanshub024 in #387
- feat: Introduce stacBadge widget and parser with example JSON by @kumar-gautam24 in #388
- feat: add loading and error widget support for StacNetworkWidget by @Potatomonsta in #391
- feat: Introduce stacTooltip widget and parser with example JSON by @akhil-ge0rge in #397
- feat: Introduce StacTooltipThemeData and parser by @akhil-ge0rge in #399
- feat: add SelectableText widget and parser with documentation and exa… by @xkaper001 in #395
- feat: Add theme support to Stac framework with cloud loading by @Potatomonsta in #393
- feat: Update modal bottom sheet action and example JSON by @Potatomonsta in #405
- refactor: Update table border JSON structure in documentation by @divyanshub024 in #406
New Contributors
- @kumar-gautam24 made their first contribution in #388
- @akhil-ge0rge made their first contribution in #397
- @xkaper001 made their first contribution in #395
Full Changelog: v1.1.0...v1.2.0
Release notes
Open source →- Added
StacBadgewidget model for displaying badges with labels or counts - Added
StacTooltipwidget model for tooltip functionality - Added
StacSelectableTextwidget model for selectable text display - Added
loadingWidgetanderrorWidgetproperties toStacNetworkWidgetmodel - Added
StacTooltipThemeDatamodel for tooltip theme configuration - Added
StacThemeRefannotation for Stac Theme DSL support
Release notes
Open source →New Features
- Added screen caching and offline support
- Added theme support with cloud loading
- Added support for
StacBadgewidget - Added support for
StacTooltipwidget - Added support for
StacSelectableTextwidget - Added support for tooltip theme configuration
- Exported extension methods for easier widget and action parsing
- Enhanced network widget to support custom loading and error widgets
-
1.1.010 Nov 2025Release notes
Open source →What's Changed
- chore: Update Readme by @divyanshub024 in #369
- docs: update stac readme links by @curogom in #370
- docs: Migrate docs from Docusaurus to Mintlify by @divyanshub024 in #375
- docs: Add 'rendering_stac_widgets' page to Concepts section by @divyanshub024 in #376
- docs: Add custom widget and action documentation. by @divyanshub024 in #377
- refactor: Simplify StacRadio and StacRadioGroup implementations by @divyanshub024 in #378
- docs: Add 'What is SDUI?' documentation page by @rahulbisht25 in #380
- refactor: Add Stac Theme and ThemeData classes to stac_core by @divyanshub024 in #379
- Refactor movie app to new Stac structure by @divyanshub024 in #381
New Contributors
Full Changelog: v1.0.0...v1.1.0
Release notes
Open source →- Added Stac Theme and ThemeData classes to stac_core
- Added
enabled,backgroundColor,side&innerRadiusin StacRadio widget. - Added
onChangedin StacRadioGroup widget.
Release notes
Open source →New Features
- Added theming support for Stac (Dart-to-JSON conversion)
- Added
enabled,backgroundColor,side, andinnerRadiusproperties toStacRadiowidget - Added
onChangedproperty toStacRadioGroupwidget - Simplified
StacRadioandStacRadioGroupimplementations
-
1.0.009 Oct 2025Release notes
Open source →What's Changed
- Update README.md by @divyanshub024 in #201
- feat: Adding SliverAppBar & CustomScrollView by @nikb7 in #203
- chore: upgrade melos by @divyanshub024 in #210
- [WIP] feat: Add StacDynamicView parser for fetching and rendering API data by @divyanshub024 in #208
- Remove Handjet font and clean up JSON style properties in gallery app by @divyanshub024 in #212
- chore: update pub dependencies by @divyanshub024 in #213
- refactor: regenerate freezed and g.dart files for all parsers and act… by @divyanshub024 in #214
- Chore: Update configs by @divyanshub024 in #215
- fixed null when background is missing from ColorScheme by @oyewalekehinde in #219
- Add support for the DropdownMenu widget by @Odinachi in #216
- Chore: Reorganize parsers directory and move action parsers under parsers by @divyanshub024 in #220
- feat: Update StacTheme by @divyanshub024 in #221
- Refactor theme parsers from widgets to theme directory by @divyanshub024 in #224
- docs: update
stac_theme.dartreference by @emmanuel-ferdman in #225 - feat: Replace networkImage with CachedNetwork Image by @divyanshub024 in #231
- feat: add ClipRRect widget support by @divyanshub024 in #232
- fix: rename ItemTemplate → itemTemplate for consistency by @ayatsuno in #233
- feat: Add GestureDetector widget support with tap, drag and press handlers by @divyanshub024 in #234
- feat: Add Material 3 fixed color and new surface variants to color scheme by @divyanshub024 in #237
- feat: add ClipOval widget support by @vijaykarthiktk in #240
- feat: add support for inkwell widget by @AbhijithKonnayil in #241
- feat: add variable support with setValue widget and action by @divyanshub024 in #242
- Chore: Update Maintainers in README.md by @rahulbisht25 in #245
- fix: add null checks for gesture detector callbacks to prevent unnecessary event handling by @divyanshub024 in #246
- example: A TMDB mobile example app using stac by @divyanshub024 in #239
- feat: add support to StacDouble class by @AbhijithKonnayil in #253
- feat: update color types and utils to support Material 3 colors by @divyanshub024 in #255
- Create FUNDING.yml by @divyanshub024 in #256
- Update FUNDING.yml by @divyanshub024 in #257
- feat: add
normalandboldtoStacFontWeightby @Abdalqader27 in #261 - feat: add
copyWithStyleproperty toStacText. by @Abdalqader27 in #262 - feat: Add conditional widget with expression evaluation support by @divyanshub024 in #264
- feat: add support for color transparency using @ notation by @divyanshub024 in #268
- feat: add StacVisibility widget by @Abdalqader27 in #266
- feat: Added support for SVG files in StacImage by @Potatomonsta in #270
- docs: Update navigation menu items in footer by @divyanshub024 in #272
- Added StacSnackBarThemeData by @Potatomonsta in #276
- enabled dialogTheme in StacTheme by @Potatomonsta in #277
- feat: add StacBackdropFilter widget by @manav-m in #274
- feat: extract logging functionality into separate stac_logger package by @divyanshub024 in #281
- Added dividerColor and dividerHeight to StacTabBar by @Potatomonsta in #286
- feat: add implementation for logger with improved documentation by @divyanshub024 in #287
- refactor: split image parsers into platform-specific implementations by @divyanshub024 in #288
- Added 2 simple actions to Stac by @antonioacademy10 in #278
- Fixes and changes to DynamicView placeholder replacement logic by @Potatomonsta in #285
- fix: update default values for BorderSide by @divyanshub024 in #293
- feat: Add support for border side in BoxDecoration by @MohamedAbd0 in #291
- feat: add custom loader and error widget support to StacDynamicView by @divyanshub024 in #295
- feat: Empty list check for api responses by @MohamedAbd0 in #294
- feat: Add BoxDecoration support for indicator in StacTabBar by @rahulbisht25 in #301
- feat: Add support for the VerticalDivider by @rahulbisht25 in #306
- doc(stac): Rename
StacRequesttoStacNetworkRequestby @dhruvanbhalara in #309 - feat: Add Drawer widget support to Stac framework by @naveen-krishna in #312
- Added StacRow, StacColumn, StacPadding, StacSizedBox to DSL by @Potatomonsta in #316
- refactor: Streamline toJson & remove StacDouble Type by @divyanshub024 in #318
- Added StacStack, StacPositioned, StacExpanded, StacSpacer by @Potatomonsta in #317
- Added StacAspectRatio, StacFlexible, StacFittedBox, StacFractionallySizedBox by @Potatomonsta in #319
- refactor: Stac DSL support for ElevatedButton, TextButton, FilledButton, OutlinedButton, IconButton & FabButton by @divyanshub024 in #320
- fix: order in _onChanged of StacSliderState by @Potatomonsta in #322
- refactor: Remove StacWidget converter and add fromJson conversion in the stac_widget by @divyanshub024 in #323
- feat: Introduce StacActions and Action DSL classes by @divyanshub024 in #324
- Layout and structure widgets by @Potatomonsta in #325
- Layout and structure widgets by @Potatomonsta in #326
- Layout and structure widgets by @Potatomonsta in #327
- feat: Added DSL support for Stac actions by @divyanshub024 in #328
- refactor: DSL support for Stac icon by @divyanshub024 in #329
- Layout and structure widgets by @Potatomonsta in #330
- DSL Widgets: CheckBox, Radio, Slider, Switch by @Potatomonsta in #331
- DSL Wildgets : StacChip, StacCard, StacHero, StacRadioGroup by @Potatomonsta in #332
- DSL Widgets : added StacCustomScrollView, StacBottomNavigationBar, StacBottomNavigationView and StacBackdropFilter by @Potatomonsta in #333
- DSL Widgets : StacColoredBox, StacPlaceholder, StacClipRRect, StacCipOval, StacCircularProgressIndicator by @Potatomonsta in #334
- [breaking changes] Update Stac Parsers to support Flutter 3.35 by @divyanshub024 in #336
- DSL Widgets : added StacDrawer, StacDefaultTabController, StacPageView, StacTab, StacTabBarStac, TabViewParser by @Potatomonsta in #335
- DSL Widgets : added StacCarouselView, StacGridView, StacSliverAppBar, StacAutoComplete, StacDropDownMenu by @Potatomonsta in #337
- Stac DSL : StacCircleAvatar, StacAlertDialog, StacTable, StacTableRow, StacTableCell and StacConditional by @Potatomonsta in #338
- Rename
stac_modelspackage tostac_coreby @divyanshub024 in #339 - DSL Actions: StacSnackBarAction, StacMultiAction, StacModalBottomSheetAction, StacDelayAction, StacDialogAction by @Potatomonsta in #340
- Bugfixes by @Potatomonsta in #341
- Refactor Stac framework: Introduce StacService and stac cloud by @divyanshub024 in #343
- chore: Prepare for stac_core package release by @divyanshub024 in #344
- Moved StacAlignmentGeometry from stac to stac_core. by @Potatomonsta in #347
- BugFixes for Stac DSL by @Potatomonsta in #350
- Refactor type parsers by @divyanshub024 in #351
- Stac DSL fixes by @divyanshub024 in #353
- feat: Major STAC framework refactoring - Introduce stac_core package and Dart-to-JSON conversion by @divyanshub024 in #354
- chore: Release Stac 1.0.0-dev.7 by @divyanshub024 in #355
- refactor: Remove unused files by @divyanshub024 in #356
- refactor: Move StacAlign to Stac_core for DSL support by @divyanshub024 in #357
- Export stac_list_view, stac_list_tile, and stac_gesture_detector in stac_core by @Potatomonsta in #358
- Add StacScreen annotation and annotations barrel; re-export in barrels by @Potatomonsta in #359
- docs: upgrade freezed class to match freezed version 3.* by @Xsantosh in #360
- refactor: Move StacLinearProgressIndicator to stac_core by @divyanshub024 in #362
- refactor: Replace StacSetValue implementation with a new structure stac_core by @divyanshub024 in #363
- Stac Framework Enhancements: Navigation, Borders, Colors & Architecture Improvements by @Potatomonsta in #361
- feat: Introduce StacError and StacErrorWidget for enhanced error handling by @divyanshub024 in #364
- chore: Removed unused files and cleaned up imports by @Potatomonsta in #366
- chore: Release version 1.0.0 of stac_core by @Potatomonsta in #367
New Contributors
- @nikb7 made their first contribution in #203
- @oyewalekehinde made their first contribution in #219
- @Odinachi made their first contribution in #216
- @emmanuel-ferdman made their first contribution in #225
- @ayatsuno made their first contribution in #233
- @vijaykarthiktk made their first contribution in #240
- @AbhijithKonnayil made their first contribution in #241
- @Abdalqader27 made their first contribution in #261
- @Potatomonsta made their first contribution in #270
- @manav-m made their first contribution in #274
- @antonioacademy10 made their first contribution in #278
- @dhruvanbhalara made their first contribution in #309
- @naveen-krishna made their first contribution in #312
- @Xsantosh made their first contribution in #360
Full Changelog: v0.10.0...v1.0.0
Release notes
Open source →-
New Features:
- Added StacScreen annotation for marking methods that return StacWidget instances
- Added StacBorder factory methods (.all() and .symmetric()) for convenient border creation
- Added StacBorderRadius factory constructors (.only(), .horizontal(), .vertical(), .circular())
- Added StacColor withOpacity() extension method for opacity manipulation
- Added StacSetValue widget for managing application state through key-value pairs
- Added StacLinearProgressIndicator widget
- Added StacDefaultBottomNavigationController widget
-
Enhancements:
- Migrated StacAlign from packages/stac to packages/stac_core for DSL support
- Migrated StacDefaultBottomNavigationController from legacy Freezed model to new stac_models system
- Enhanced StacSetValueAction with proper StacAction type handling
- Improved bottom navigation timing by deferring BottomNavigationScope access to build time
-
Bug Fixes:
- Fixed null child handling in StacSetValue widget
- Fixed timing issues in navigation parsers where InheritedWidget was accessed before creation
- Fixed StacSetValueAction.action type from Map to StacAction
- Fixed default gradient return value in StacGradientParser to linearGradient
Release notes
Open source →This is the first stable release of Stac, marking a major milestone in server-driven UI for Flutter.
Breaking Changes
<Warning> If upgrading from pre-1.0 versions, please review these changes carefully. </Warning>
- Minimum Flutter SDK is now 3.35.0+
Switch: renamedactiveColor→activeThumbColor(aligned with Flutter API)ThemeData.bottomAppBarThemenow expectsBottomAppBarThemeData(aligned with Flutter 3.35)TextSpannow takestextinstead ofdata
New Features
- Error Handling: Introduced
StacErrorandStacErrorWidgetfor enhanced error handling - Dart-to-JSON: Added support for Dart-to-JSON conversion via Stac DSL
- WASM Compatibility: Web/WASM platform support
- Conditional Widget: Expression evaluation for dynamic UI logic
- SVG Rendering: SVG support in
StacImage - TextStyle.copyWith(): Via
copyWithStyleproperty - Border Side Customization: In
BoxDecoration - Multi Action Parser: For advanced interaction handling
- SnackBarThemeData: Integrated for consistent styling
- BackdropFilter Widget: New widget support
- Color Transparency: Using
@notation (e.g."primary@50") - Visibility Widget: New widget support
- CachedNetworkImage: Replaced
Image.networkusage - ClipRRect Widget: New widget support
- GestureDetector: With tap, drag and press handlers
- Material 3 Colors: Fixed colors and new surface variants
- ClipOval Widget: New widget support
- InkWell Widget: New widget support
- Variables: Support with
setValuewidget and action - StacDouble Type: New type support
- Theme Updates: Updated Stac theme with new
ThemeDataclasses - DropdownMenu Widget: New widget support
- SliverAppBar & CustomScrollView: New parsers
- StacDynamicView: Parser for fetching and rendering API data
- Improved Borders: Enhanced Stac borders and styles
-
0.2.022 Sep 2025Release notes
Open source →- Added stac alignment geometry
- Enhanced StacTextStlye to support custom and material text theme
- Added propper logging
- Bug Fixes & improvements
Release notes
Open source →Breaking Changes
- BREAKING: Call
Stac.initializeto initialize Stac
New Features
IconThemesupportFractionallySizedBoxwidgetElevatedButtonTheme,OutlinedButtonTheme,IconButtonThemeCenterwidget- Dio instance injection support
InputFormatterssupport- Input validation
BoxDecorationsupport for ContainerStackandPositionedwidgets
-
0.1.007 Sep 2025Release notes
Open source →- Initial release. Supports core functionalities and common interfaces for Stac.
Release notes
Open source →- Added Stac Theme support
- Added
StacTabparser - Added
BoxFitsupport forStacImage - Fixed AppBar size issue