• 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
..
cassowary Loading commit data...
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_markdown Loading commit data...
flutter_sprites Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
flx Loading commit data...
newton Loading commit data...
playfair Loading commit data...
.gitignore Loading commit data...