• Ian Hickson's avatar
    Catch un-normalized BoxConstraints · 1a049c14
    Ian Hickson authored
    Add BoxConstraints.isNormalized feature.
    
    Use this feature in asserts in all the intrinsic dimension methods, in
    various relevant BoxConstraints methods, and in layout().
    
    Wrap the _DebugSize logic in BoxConstraints.constrain() in an assert
    block to avoid a branch in release mode.
    
    Remove the logic in BoxConstraints.isSatisfiedBy() that dealt with
    non-normalized values.
    
    Add BoxConstraints.normalize().
    
    Make RenderCustomOneChildLayoutBox.performLayout() only set
    parentUsesSize on the child if the constraints aren't tight.
    1a049c14
Name
Last commit
Last update
..
box_test.dart Loading commit data...
flex_test.dart Loading commit data...
grid_test.dart Loading commit data...
image_test.dart Loading commit data...
intrinsic_width_test.dart Loading commit data...
offstage_test.dart Loading commit data...
overflow_test.dart Loading commit data...
positioned_box_test.dart Loading commit data...
rendering_tester.dart Loading commit data...
size_test.dart Loading commit data...
stack_test.dart Loading commit data...
viewport_test.dart Loading commit data...