screenSize property
This change makes MediaQuery an InheritedModel rather than an InheritedWidget, so any widget which knows it only depends on a specific property of MediaQuery the ability to declare that when reading the MediaQuery from the context. The same of MediaQuery.sizeOf(context)
Implementation
/// The same of MediaQuery.sizeOf(context)
Size get screenSize => MediaQuery.sizeOf(this);