flutter_addons 2.5.0
flutter_addons: ^2.5.0 copied to clipboard
A productivity-boosting micro-extension framework for Flutter. Build responsive, theme-aware apps up to 7x faster with easy, reusable add-ons.
2.5.0 #
Added #
UiAvatarwidget for circular avatars with optional status indicators.UiAccordionwidget for expandable/collapsible panels.UiDrawerwidget for modern navigation drawer.- Updated documentation for navigation extensions.
Changed #
- Renamed
Frameclass toDesignFramefor clarity. - Optimized code across widgets and extensions for performance and readability.
Fixed #
- Minor layout and ui issues in entrypoint and other ui components.
2.4.5 #
- Add
UIComponents. - Added
UIFlatButtoncomponents. - Added
UIOTPScreenfor otp field. - Added
UITextFiledand more ui pack. - Replace
.swith.gapfor sizebox.
2.4.3 #
- Added
LifecycleManagerfor managing app lifecycle. - Added
Keyboard visbilityController.
2.4.2 #
- Added
UiListviewui component - Added
toStackedAvatarsfor goup of circle avaters - Grouping UIComponets as
Uiprefix - Fixed Responsive Spacing units
- Fix some validation logic.
- Supports max number for phone validation
- Introduced ThemeHelper singleton to initialize ThemeData, TextTheme, ColorScheme, and MediaQuery at app root
- Added Ui class as a global design system access point for theme, text styles, and colors without passing BuildContext
- Ensures consistent and convenient styling throughout the app
- Added documentation and usage examples for clarity
2.4.1 #
- Removed conflicted component
- Updated documentation
2.4.0 #
- Reorganized project folder structure for better scalability and upcoming phase.
- Clean separation of widgets, helpers, and theme constants.
- Ensure CoreScale re-initializes properly on every screen size/orientation change.
- Add check to only initialize or update design-based scaling when ScaleMode is
designand a valid design frame is provided. - Prevents redundant design scaling in other modes, improving performance and clarity.
- Enhances ResponsiveScope to rely on ScreenUtils for consistent screen type resolution.
- Adds safer asserts and logging for better debugging when resizing windows or using dynamic layouts.
- Optimizing core features for breaking changes
- Ensure SectionItem widgets have bounded heights to avoid overflow when used with Wrap layouts.
- Rewrote Section grouping logic for robust flex calculation per breakpoint.
- Replaced unsafe maxHeight usage with calculated viewport-based heights.
- Also documented safe usage patterns for flexible sidebar layouts.
2.3.1 #
- Fix: Resolved
LateInitializationErrorduring initialization.
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.