fitted_box_with_siblings 1.0.0
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.
FittedBoxWithSiblingswidget that scales a first child likeFittedBoxwhile positioning sibling widgets at computed rects.computeRectscallback receives constraints and the first child's natural size, returns aList<Rect>for all children.- Supports
BoxFit,Alignment,StackFit, andClipproperties. - 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).