mediaQuery property Null safety

MediaQueryData mediaQuery

Shortcut for MediaQuery.of(context).

Implementation

MediaQueryData get mediaQuery => MediaQuery.of(this);