Add BuildContext.size as a convenience getter (#6355)
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
Showing
Please register or sign in to comment