• Ian Hickson's avatar
    Add even more careful checks around BoxConstraints (#3243) · 47f5c6f2
    Ian Hickson authored
    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.
    47f5c6f2
Name
Last commit
Last update
..
block_test.dart Loading commit data...
box_test.dart Loading commit data...
constraints_test.dart Loading commit data...
flex_test.dart Loading commit data...
grid_test.dart Loading commit data...
image_test.dart Loading commit data...
independent_layout_test.dart Loading commit data...
intrinsic_width_test.dart Loading commit data...
list_test.dart Loading commit data...
mutations_test.dart Loading commit data...
offstage_test.dart Loading commit data...
overflow_test.dart Loading commit data...
positioned_box_test.dart Loading commit data...
reattach_test.dart Loading commit data...
rendering_tester.dart Loading commit data...
size_test.dart Loading commit data...
stack_test.dart Loading commit data...
table_test.dart Loading commit data...
viewport_test.dart Loading commit data...