widget_that_fits 1.1.0
widget_that_fits: ^1.1.0 copied to clipboard
A widget that displays the first child that fits the available space.
1.1.0 #
- Added
WidgetThatFits.horizontal()andWidgetThatFits.vertical()named constructors for common use cases. - Improved layout algorithm to properly handle fallback to the last child when no children fit.
- Added semantics support - only the visible child is now included in the semantics tree.
- Added
paintsChild()override for better rendering optimization. - Added
debugFillProperties()anddebugDescribeChildren()for improved debugging experience. - Fixed import structure by removing dependency on
collectionpackage and using Flutter's built-insetEquals. - Improved documentation with better formatting and references.
- Added comprehensive test coverage for semantics behavior.
1.0.0 #
- Initial release.