flutter_adaptive_layout_kit 0.0.3
flutter_adaptive_layout_kit: ^0.0.3 copied to clipboard
A Flutter package for building adaptive layouts and responsive UIs with ease. Provides utilities for adaptive layouts, text, grid systems, and responsive flow layouts.
0.0.3 #
- New Feature: Added
ResponsiveFlowLayoutwidget for creating adaptive grid layouts that automatically arrange items in rows while respecting minimum and maximum width constraints. - New Feature: Added
FlowItemclass to define flexible layout items with configurable width boundaries. - New Feature: Added alignment enums
HorizontalFlowAxisAlignmentandVerticalFlowAxisAlignmentfor precise layout control. - New Feature: Added convenience methods
isMobile(),isTablet(), andisDesktop()toResponsiveGridServicefor easier screen type checking. - Improvement: Enhanced global context management with better error handling and initialization validation.
- Improvement: Optimized import statements across all library files to use relative imports and reduce circular dependencies.
- Improvement: Updated package description to include responsive flow layouts.
- Documentation: Added comprehensive examples and documentation for the new ResponsiveFlowLayout system.
- Code Organization: Separated FlowItem and alignment enums into dedicated files for better maintainability.
- Export Updates: Updated main library exports to include all new ResponsiveFlowLayout components.
0.0.2 #
- Breaking Change: Refactored the API to centralize screen type logic in
ResponsiveGridService. - Removed
ResponsiveContextExtension. Screen type checks likecontext.isMobileare no longer available. - Introduced
ResponsiveScreenInitializerto be placed at the root of the app. This widget initializes thesizerpackage and updates theresponsiveGridService. ResponsiveGridServiceis now a singleton instance that can be accessed globally viaresponsiveGridService.ResponsiveLayoutBuilderandResponsiveTextnow use theresponsiveGridServiceto determine the screen type.
0.0.1 #
- Initial release of
flutter_adaptive_layout_kit. - Clarified that
ResponsiveScreenTypeProviderhandlesSizerinitialization internally. - Includes
ResponsiveLayoutBuilderfor adaptive layouts based on screen size. - Provides
ResponsiveContextExtensionfor easy screen size checks. - Introduces
ResponsiveGridServiceandResponsiveScreenTypeProviderfor responsive spacing and grid management. - Features
ResponsiveTextandResponsiveTextStylefor text that adapts its style to different screen breakpoints. - Basic example and documentation updated to reflect the new package name and structure