- Fix exception when selecting the widget in Flutter Inspector (#3)
- Dependencies updated
- Fix exception when trying to read debug properties in Flutter Inspector (#1)
PrototypeConstrainedBox
unnamed constructor now has default values forconstrain*
parameters- All
constrain
parameters default tofalse
- All
- Improved documentation
- BREAKING:
PrototypeConstrainedBoxElement
is now private - BREAKING:
ConstraintType
has been removed from the API - BREAKING:
PrototypeConstrainedBox
is now afinal class
, and thus can't be extended/implemented anymore - BREAKING:
PrototypeConstrainedBox
API has been changed to be more similar to what we have inBoxConstraints
PrototypeConstrainedBox.looseHorizontal
andPrototypeConstrainedBox.looseVertical
constructors have been removedPrototypeConstrainedBox.tightHorizontal
andPrototypeConstrainedBox.tightVertical
have been replaced byPrototypeConstrainedBox.tightFor
PrototypeConstrainedBox
default unnamed constructor allows for complete customization of constraints, allowing constraints that were not possible before
- Fix:
RenderPrototypeConstrainedBox
was not callingsuper
onredepthChildren
- Now, instead of laying out
prototype
, we compute it's constraints by usinggetDryLayout
- Added tests
- Improved example
- Updated documentation
- Initial commit