single_axis_wrap 1.0.4
single_axis_wrap: ^1.0.4 copied to clipboard
A Flutter widget that chooses one complete row or column based on available space.
Changelog #
1.0.4 #
- Refreshed the README with a shorter usage-focused guide and clearer examples.
1.0.3 #
- Fixed dry layout and real layout parity when the primary direction falls back.
- Stabilized intrinsic sizing, including finite opposite-axis queries.
- Fixed RTL,
verticalDirection, and single-childspaceBetweenpositioning semantics. - Fixed unbounded constraint handling and finite spacing validation.
- Deprecated
MeasurementStrategy.preferPrimary; useMeasurementStrategy.layoutinstead. - Improved direction-change callback delivery, dry baseline support, and clipping semantics.
- Clarified layout decisions, constraints,
maintainLayout, callbacks, and measurement strategies in the docs.
1.0.2 #
- Organized code and enhanced code documentation.
1.0.1 #
- Added demo in the readme.
1.0.0 #
Initial release #
- Introduced
SingleAxisWrapwidget that automatically chooses between row and column layouts based on available space - Implemented robust RTL (right-to-left) support
- Added customizable spacing for both horizontal and vertical layouts
- Added alignment options using WrapAlignment and WrapCrossAlignment
- Implemented
maintainLayoutfeature to prevent unwanted layout changes during animations - Added
onLayoutDirectionChangedcallback for reacting to layout changes - Comprehensive test suite ensuring widget reliability
- Full documentation and examples