fitted_box_with_siblings 1.0.0 copy "fitted_box_with_siblings: ^1.0.0" to clipboard
fitted_box_with_siblings: ^1.0.0 copied to clipboard

A Flutter widget that scales a first child like FittedBox while letting sibling widgets fill rects you compute alongside it.

1.0.0 #

  • First stable release.
  • Expanded README with a "Why use this package?" section.
  • Updated package description.

0.1.0 #

  • Initial release.
  • FittedBoxWithSiblings widget that scales a first child like FittedBox while positioning sibling widgets at computed rects.
  • computeRects callback receives constraints and the first child's natural size, returns a List<Rect> for all children.
  • Supports BoxFit, Alignment, StackFit, and Clip properties.
  • Fix: siblings are now painted and hit-tested even when the fitted child has an empty size.
  • Fix: render object default alignment matches widget default (Alignment.center).
0
likes
160
points
115
downloads

Documentation

API reference

Publisher

verified publisherronbooth.com

Weekly Downloads

A Flutter widget that scales a first child like FittedBox while letting sibling widgets fill rects you compute alongside it.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on fitted_box_with_siblings