prototype_constrained_box 2.0.0+1 copy "prototype_constrained_box: ^2.0.0+1" to clipboard
prototype_constrained_box: ^2.0.0+1 copied to clipboard

A ConstrainedBox-like widget, but the constraints are given by another widget.

2.0.0+1 #

  • Improved documentation

2.0.0 #

  • BREAKING: PrototypeConstrainedBoxElement is now private
  • BREAKING: ConstraintType has been removed from the API
  • BREAKING: PrototypeConstrainedBox is now a final class, and thus can't be extended/implemented anymore
  • BREAKING: PrototypeConstrainedBox API has been changed to be more similar to what we have in BoxConstraints
    • PrototypeConstrainedBox.looseHorizontal and PrototypeConstrainedBox.looseVertical constructors have been removed
    • PrototypeConstrainedBox.tightHorizontal and PrototypeConstrainedBox.tightVertical have been replaced by PrototypeConstrainedBox.tightFor
    • PrototypeConstrainedBox default unnamed constructor allows for complete customization of constraints, allowing constraints that were not possible before
  • Fix: RenderPrototypeConstrainedBox was not calling super on redepthChildren
  • Now, instead of laying out prototype, we compute it's constraints by using getDryLayout

1.0.0 #

  • Added tests
  • Improved example

0.0.1+1 #

  • Updated documentation

0.0.1 #

  • Initial commit
6
likes
0
pub points
73%
popularity

Publisher

verified publishermateusfccp.me

A ConstrainedBox-like widget, but the constraints are given by another widget.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on prototype_constrained_box