flutter_addons 2.1.0
flutter_addons: ^2.1.0 copied to clipboard
Flutter Addons is a powerful toolkit designed to streamline responsive Flutter development. It includes theme engines, layout utilities, scaling extensions, and animation helpers—everything you need t [...]
2.1.0 #
Fixes & Improvements #
- Fixed the non-removable
debugShowCheckedModeBannerflag. - Fixed hot-rebuild issues triggered by orientation changes.
- Improved responsive logic to reduce unnecessary widget rebuilds in
ResponsiveScope. - Optimized fallback behavior for
MediaQueryand scaling mechanisms. - Updated and enhanced smart scaling logic for more accurate rendering.
- Improved overall performance and performed a full code cleanup.
- Introduced
FlatButtonagain in Flutter. - Added support for orientation lock via internal API.
- Introduced new
SoulThemeswith improved visual design. - Added
ResponsiveBuilderwidget and several utility extensions to simplify responsive and UI development. - Centeralized Default Colors in
PureSoulclass
2.0.0 #
Major Features #
- Introduced
ResponsiveScopeas a new root-level widget for adaptive layouts. - Added
Frame.reversedto support orientation-aware frame swapping. - Enhanced
SmartUnitUtilswith orientation-aware scaling capabilities. - Refined design frame handling using
MediaQuery.orientation. - Implemented transition animations on responsive widget rebuilds.
- Improved debug logging for orientation and screen type changes.
Refactor & Maintenance #
- Renamed
NavigationExtensiontoNavigationContextExtensions. - Refactored
ResponsiveAppto improve error handling and screen-type detection. - Performed general code cleanup and restructuring.
Bug Fixes #
- Fixed improper fallback when using invalid
designFramevalues.
2.0.0-alpha.2 #
Features #
- Added unified scaling extensions:
.w,.h,.sp, and.rsfor automatic context-aware scaling across Smart, Design, and Percent modes. - Introduced
.usp()for unified font scaling with smart awareness. - Implemented
_safe()execution wrapper to prevent runtime crashes during uninitialized scaling scenarios. - Added
.rsas a shorthand for responsive radius computation.
Supported Modes #
- Smart: Context-aware scaling based on screen ratios and device density.
- Design: Logical pixel-to-dp mapping based on fixed mockup dimensions.
- Percent: Percentage-based scaling relative to current screen size.
Refactors #
- Renamed and formatted internal extensions for naming consistency.
- Enhanced readability and simplified logic for better maintenance.
Breaking Changes #
- Replaced scattered scaling access with centralized control via
UnifiedScale().mode. - Deprecated some older
.scaleusages; migrate to.sx,.sy,.su,.w, or.h.
1.3.1 #
Fixes #
- Corrected
SizeBoxshorthand behavior to ensure scaling aligns with design reference instead of percentage.
1.3.0 #
Preparations for 2.0.0 #
- Upgraded Flutter SDK to 3.32 and Dart SDK to 3.8.
- Addressed breaking changes in Flutter/Dart APIs and updated all dependencies accordingly.
- Marked as the final pre-2.0.0 release, maintaining compatibility with older versions.
1.2.5 #
Features #
- Introduced responsive layout support to dynamically adjust UI components across screen sizes and orientations.
- Added
NavigatorManagerfor improved navigation flow and control.
Improvements #
- Enhanced layout scaling for consistency across devices.
Bug Fixes #
- Resolved minor layout rendering issues and optimized overall performance.
1.2.4 #
Fixes #
- Removed conflicting class names to prevent runtime clashes.
- Added fake data for improved testing scenarios.
1.2.3 #
Theme Engine Enhancements #
- Added centralized
ThemeManagerfor consistent theming. - Refined the theme structure for greater flexibility.
- Introduced dynamic theme registry to support seamless theme switching.
- Improved
ColorSchemeintegration for better UI consistency. - Added
ThemeToggleButtonwidget for theme interaction.
Adaptive UI #
- Enhanced
getFrame()to better select design dimensions based on screen type. - Improved breakpoint detection with
context.isXs,context.isSm, etc.
Custom Borders #
- Added reusable extension for
DottedBorderand introduced support for new border types:Triangle,Rectangle,Dotted,Dashed. - Enabled displaying text within borders.
General Improvements #
- Improved fallback text handling for failed typography initialization.
- Enhanced Flutter error reporting and asset optimization.
1.2.2 #
Error Handling #
- Introduced
AppExceptionandErrorMapperfor structured error control. - Improved error logging clarity.
- Optimized image, typography, and color handling.
1.2.1 #
Platform Support #
- Extended native web support.
- Improved pub.dev metadata and visual representation.
1.2.0 #
Soul Theme Engine #
- Released the first version of the
SoulThemeEngine. - Included over 10 pre-built themes for easy customization.
- Added asynchronous extensions to enhance workflow.