• 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
..
lib Loading commit data...
align_items.dart Loading commit data...
baseline.dart Loading commit data...
borders.dart Loading commit data...
flex.dart Loading commit data...
interactive_flex.dart Loading commit data...
justify_content.dart Loading commit data...
pubspec.yaml Loading commit data...
render_grid.dart Loading commit data...
render_paragraph.dart Loading commit data...
sector_layout.dart Loading commit data...
shadowed_box.dart Loading commit data...
simple_autolayout.dart Loading commit data...
spinning_flex.dart Loading commit data...
touch_demo.dart Loading commit data...
transform.dart Loading commit data...