widget_that_fits 1.1.0 copy "widget_that_fits: ^1.1.0" to clipboard
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() and WidgetThatFits.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() and debugDescribeChildren() for improved debugging experience.
  • Fixed import structure by removing dependency on collection package and using Flutter's built-in setEquals.
  • Improved documentation with better formatting and references.
  • Added comprehensive test coverage for semantics behavior.

1.0.0 #

  • Initial release.
5
likes
160
points
180
downloads

Publisher

verified publisherky1vstar.dev

Weekly Downloads

A widget that displays the first child that fits the available space.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on widget_that_fits