prototype_constrained_box 2.0.5
prototype_constrained_box: ^2.0.5 copied to clipboard
A ConstrainedBox-like widget, but the constraints are given by another widget.
2.0.5 #
- Add
constrainparameter toPrototypeConstrainedBox.tightandPrototypeConstrainedBox.looseconstructors (defaults totrue) - Skip computing
prototypedry layout when allconstrain*parameters arefalse - Fix
computeDryLayoutwhen called before first layout or with different constraints
2.0.4 #
- Fix null check exception when querying intrinsic dimensions before the first layout
- Fix
computeMinIntrinsicHeightandcomputeMaxIntrinsicHeightconstraining by width instead of height
2.0.3+1 #
- Format code and update lint dependencies
2.0.3 #
- Fix exception when selecting the widget in Flutter Inspector (#3)
- Dependencies updated
2.0.2 #
- Fix exception when trying to read debug properties in Flutter Inspector (#1)
2.0.1 #
PrototypeConstrainedBoxunnamed constructor now has default values forconstrain*parameters- All
constrainparameters default tofalse
- All
2.0.0+1 #
- Improved documentation
2.0.0 #
- BREAKING:
PrototypeConstrainedBoxElementis now private - BREAKING:
ConstraintTypehas been removed from the API - BREAKING:
PrototypeConstrainedBoxis now afinal class, and thus can't be extended/implemented anymore - BREAKING:
PrototypeConstrainedBoxAPI has been changed to be more similar to what we have inBoxConstraintsPrototypeConstrainedBox.looseHorizontalandPrototypeConstrainedBox.looseVerticalconstructors have been removedPrototypeConstrainedBox.tightHorizontalandPrototypeConstrainedBox.tightVerticalhave been replaced byPrototypeConstrainedBox.tightForPrototypeConstrainedBoxdefault unnamed constructor allows for complete customization of constraints, allowing constraints that were not possible before
- Fix:
RenderPrototypeConstrainedBoxwas not callingsuperonredepthChildren - Now, instead of laying out
prototype, we compute it's constraints by usinggetDryLayout
1.0.0 #
- Added tests
- Improved example
0.0.1+1 #
- Updated documentation
0.0.1 #
- Initial commit