stac_framework
The Stac Framework enables easy creation of parsers for widgets and actions, enhancing Stac's functionality and supporting custom implementations.
1.0.0
9.2K downloads/mo
#3042 most downloaded on pub.dev
StacDev/stac
What this package is like to depend on
Last release 9 months ago
10 Nov 2025
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
7 releases · first in 2025
2 releases in the last 12 months
see the full history below
Release timeline
7 releases · Feb 2025 to Nov 2025Releases
latest 7-
1.0.010 Nov 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 →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.4.022 Sep 2025Release notes
Open source →- Remove StacWidget & StacAction typedef
- Code refactoring and improvements
Release notes
Open source →- Rich text functionality for
StacText pushNamedsupport in navigationStacExpandedwidgetInputDecorationTheme&InputBordersupport
-
0.3.025 May 2025Release notes
Open source →Theme Support
AppBarThemeTextButtonThemeFloatingActionButtonThemeBottomNavigationBarThemeBottomSheetThemeCardThemeDialogThemeNavigationBarThemeDataTabBarThemeData
-
0.2.211 Feb 2025 -
0.2.101 Feb 2025 -
0.2.001 Feb 2025Release notes
Open source →- Added
StacParserandStacActionParserabstract classes. These classes are used to define custom parsers for widgets and actions.
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
- Added
-
0.1.001 Feb 2025Release notes
Open source →- Added Stac Theme support
- Added
StacTabparser - Added
BoxFitsupport forStacImage - Fixed AppBar size issue