mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() I ran into a case where I was setting minHeight=∞ and then calling layout() with that constraint, which is all kinds of bad. To try to catch this earlier, this patch now provides a way to catch constraints that are requiring infinite values. We don't _always_ check this because there are valid uses for BoxConstraints.biggest, e.g. as an additionalConstraint. |
||
---|---|---|
.. | ||
src | ||
autolayout.dart | ||
custom_coordinate_systems.dart | ||
flex_layout.dart | ||
hello_world.dart | ||
spinning_square.dart | ||
touch_input.dart |