single_axis_wrap 1.0.3-dev.2 copy "single_axis_wrap: ^1.0.3-dev.2" to clipboard
single_axis_wrap: ^1.0.3-dev.2 copied to clipboard

A Flutter widget that chooses one complete row or column based on available space.

Changelog #

1.0.3-dev.2 #

  • Fixed dry layout and real layout parity when the primary direction does not fit.
  • Stabilized intrinsic size calculations so they no longer depend on previous layout state and respect finite opposite-axis queries.
  • Fixed RTL, verticalDirection, and single-child spaceBetween positioning semantics.
  • Fixed unbounded constraint handling, narrowed MeasurementStrategy.preferPrimary, and prevented infinite sizes for space-based alignments.
  • Deprecated MeasurementStrategy.preferPrimary; use MeasurementStrategy.layout instead.
  • Tightened spacing validation, direction-change callback delivery, and clip semantics invalidation.
  • Added dry baseline and approximate paint clip support.
  • Expanded render-contract test coverage and clarified layout decision documentation.

1.0.2 #

  • Organized code and enhanced code documentation.

1.0.1 #

  • Added demo in the readme.

1.0.0 #

Initial release #

  • Introduced SingleAxisWrap widget 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 maintainLayout feature to prevent unwanted layout changes during animations
  • Added onLayoutDirectionChanged callback for reacting to layout changes
  • Comprehensive test suite ensuring widget reliability
  • Full documentation and examples
3
likes
0
points
125
downloads

Publisher

verified publishertomars.tech

Weekly Downloads

A Flutter widget that chooses one complete row or column based on available space.

Repository (GitHub)
View/report issues

Topics

#layout #responsive #wrap #single #adaptive

License

unknown (license)

Dependencies

flutter

More

Packages that depend on single_axis_wrap