Skip to main content
This page documents the version history of Stac, including new features, breaking changes, and bug fixes.

1.3.0

Refactor

  • Centralized cache configuration to Stac.initialize with networkFirst as the default cache strategy

New Features

  • Added DSL entry to documentation JSON
  • Added stacSliverToBoxAdapter widget, parser, example, and documentation
  • Added stacSliverPadding widget, parser, example, and documentation
  • Added stacSliverSafeArea widget, parser, example, and documentation
  • Added stacSliverOpacity widget, parser, example, and documentation
  • Added stacSliverVisibility widget, parser, example, and documentation
  • Added stacSliverList widget, parser, example, and documentation
  • Added stacSliverFillRemaining widget, parser, example, and documentation
  • Added stacSliverGrid widget, parser, example, and documentation
  • Enhanced Positioned widget with new constructors
  • Added constructors for StacImage widget 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

1.2.0

New Features

  • Added screen caching and offline support
  • Added theme support with cloud loading
  • Added support for StacBadge widget
  • Added support for StacTooltip widget
  • Added support for StacSelectableText widget
  • 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.2

Maintenance

  • Upgrade dio to ^5.9.0
  • Upgrade flutter_svg to ^2.2.2
  • Upgrade build_runner to ^2.10.4
  • Upgrade json_serializable to ^6.11.1

1.1.0

New Features

  • Added theming support for Stac (Dart-to-JSON conversion)
  • Added enabled, backgroundColor, side, and innerRadius properties to StacRadio widget
  • Added onChanged property to StacRadioGroup widget
  • Simplified StacRadio and StacRadioGroup implementations

1.0.0

This is the first stable release of Stac, marking a major milestone in server-driven UI for Flutter.

Breaking Changes

If upgrading from pre-1.0 versions, please review these changes carefully.
  • Minimum Flutter SDK is now 3.35.0+
  • Switch: renamed activeColoractiveThumbColor (aligned with Flutter API)
  • ThemeData.bottomAppBarTheme now expects BottomAppBarThemeData (aligned with Flutter 3.35)
  • TextSpan now takes text instead of data

New Features

  • Error Handling: Introduced StacError and StacErrorWidget for 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 copyWithStyle property
  • 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.network usage
  • 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 setValue widget and action
  • StacDouble Type: New type support
  • Theme Updates: Updated Stac theme with new ThemeData classes
  • 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.10.0

  • Migrate to Flutter 3.29
  • Remove IconAlignment from button widgets

0.9.x

0.9.3

  • Add pub.dev topics

0.9.2

  • Update readme

0.9.0

New Features

  • StacHero widget
  • StacRadio widget
  • StacSlider widget
  • StacOpacity widget
  • StacSnackBar action
  • StacPlaceholder widget
  • StacAspectRatio, StacFittedBox, StacLimitedBox widgets
  • Material as default icon type

Improvements

  • Fixed filledButton onPressed and onLongPress functionality
  • Simplified table border configuration
  • Added support for named colors
  • Standardized parameters in buttons
  • Updated Chip widget params
  • Changed icon button widget property from child to icon

0.8.x

0.8.3

  • Package Rename: Renamed from Mirai to Stac

0.8.0

New Features

  • StacCarouselView widget
  • StacColoredBox widget
  • StacDivider widget
  • StacProgressIndicator widgets (linear and circular)
  • Row and Column spacing support
  • Ability to override Stac parsers and action_parsers

0.7.x

0.7.0

New Features

  • CircleAvatar, GridView, Chip, Wrap, FilledButton widgets
  • DefaultBottomNavigationController & BottomNavigationView
  • Revamped StacForm with validation and form submission
  • New StacNetworkRequest & StacNetworkResult API
  • App text theme support in text styles
  • New EdgeInsets & BorderRadius declaration syntax

Breaking Changes

  • Renamed scrollView to SingleChildScrollView

0.6.0

  • StacSwitch widget
  • StacAlign widget
  • StacPageView widget
  • StacNetworkWidget for loading remote JSON
  • Tab alignment in StacTabBar
  • Scroll physics support
  • flex property in StacExpanded
  • textScaler in StacText
  • RefreshIndicator for remote ListView

0.5.0

Breaking Changes

  • Restructured navigation action
  • Added modal bottom sheet action
  • Added show dialog action

New Features

  • Custom Action support
  • StacSafeArea widget
  • StacFlexible widget
  • Enhanced StacInputDecoration
  • Form validation support
  • InputBorder.none support
  • Gradient in outline border
  • WebView support
  • Tap gesture recognizer in StacTextSpan
  • Border radius in Button Styles

0.4.0

  • Rich text functionality for StacText
  • pushNamed support in navigation
  • StacExpanded widget
  • InputDecorationTheme & InputBorder support

0.3.0

Theme Support

  • AppBarTheme
  • TextButtonTheme
  • FloatingActionButtonTheme
  • BottomNavigationBarTheme
  • BottomSheetTheme
  • CardTheme
  • DialogTheme
  • NavigationBarThemeData
  • TabBarThemeData

0.2.0

Breaking Changes

  • BREAKING: Call Stac.initialize to initialize Stac

New Features

  • IconTheme support
  • FractionallySizedBox widget
  • ElevatedButtonTheme, OutlinedButtonTheme, IconButtonTheme
  • Center widget
  • Dio instance injection support
  • InputFormatters support
  • Input validation
  • BoxDecoration support for Container
  • Stack and Positioned widgets

0.1.0

  • Added Stac Theme support
  • Added StacTab parser
  • Added BoxFit support for StacImage
  • Fixed AppBar size issue

0.0.1

  • Initial release 🎉

Stay Updated