You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ConstrainedBox: impose arbitrary(?) constraints on child? I think this should probably be represented as Fn(BoxConstraints) -> BoxConstraints or something.
In any case: none of these are super-duper-urgent, but I think we would like to have all of them eventually.
The text was updated successfully, but these errors were encountered:
just a question, but how is drawing outside the window border being handled? would the OverflowBox clip the content on the edge of the window? or would it signal the window to grow somehow. If the later is chosen, will other widgets resize too? will the background be painted on the part of the window that wasn't there before.
If the OverflowBox would grow the window without resizing or painting the background on the new area, it might be nice to use it for dropdowns, since they might not fit withing the window.
There are a number of basic layout widgets in flutter that we don't have.
LimitedBox
: A widget that checks if incoming constraints are infinite, and constraints them.FittedBox
: A widget that fits a child within itself, in a number of ways (fill, fit, fillHeight, etc).FractionallySizedBox
: use a fraction of available spaceAspectRatio
: maintain an aspect ratio (this should report if it is passed tight constraints) Aspect ratio box #1645OverflowBox
: allow a child to overflowConstrainedBox
: impose arbitrary(?) constraints on child? I think this should probably be represented asFn(BoxConstraints) -> BoxConstraints
or something.In any case: none of these are super-duper-urgent, but I think we would like to have all of them eventually.
The text was updated successfully, but these errors were encountered: