• Adam Barth's avatar
    Add BuildContext.size as a convenience getter (#6355) · 63e7a0e8
    Adam Barth authored
    Developers need to get the size of the BuildContext sufficiently often
    that we should provide a convenient getter for the value. Having this
    getter is also an opportunity to catch common mistakes and provide
    useful error messages that guide developers towards better patterns.
    
    Fixes #2321
    63e7a0e8
framework.dart 143 KB