flutter_addons 2.3.0
flutter_addons: ^2.3.0 copied to clipboard
Supercharge your development workflow with Flutter Addons — the ultimate toolkit for building responsive Flutter apps effortlessly. Packed with powerful theme engines and thousands of extensions.
2.3.0 #
What’s New:
- Introduced
Stateaddons. - Introduced
Functional Programmingaddons. - Refactor Frame(w,h).
- Fixed breaking change issue.
- Fixed responsive DFlex and Wraping.
- Preaping
UIcomponnets on V3.0
2.2.1 #
What’s New:
- Introduced
ResponsivePageclass. - Fixed extension conflict issue.
- Fixed breaking change issue.
2.2.0 #
What’s New:
Added #
- Introduced a
Result<T, E>type for functional-style success and error handling. - Added
AppState<T>for representing loading, success, and failure states in UI. - Implemented
ExceptionHandlerto standardize exception-to-error conversion across layers. - Created extension methods for retrying failed futures and guarding async operations.
- New SizedBox Spacing
sysx - New Frames added on designFrame, etc.
Fixed #
- Fix font scaling on large screens by basing scale on reference width and clamping values
- Prevent fonts from shrinking below original size on desktop resolutions
Improved #
- Enhanced error handling consistency across layers.
- Refactored data flow to follow clean architecture and functional principles.
- Simplified async logic through reusable extensions and state modeling.
- Improved terminal readability with minimal formatting
2.1.2 #
What’s New:
- Introduced a redesigned, customizable AppBar for improved UI consistency.
- Enhanced the CircleButton widget with improved styling and responsiveness.
- Added a reusable AvatarCircle widget for displaying user avatars and icons.
- Included a clean and minimal PageIndicator widget for onboarding and carousel screens.
- Implemented a set of Common Validators for consistent and efficient form validation.
- Introduced a flexible CustomTextField with built-in validation and optional visibility toggle.
2.1.1 #
Hotfix #
- Resolved lag issues and fixed crashes caused by complex widget trees.
- Improved overall performance and stability.
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
Responsivewidget 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.