mediaQuery property

MediaQueryData get mediaQuery

Returns an instance of MediaQueryData which can be use to get information about the screen

If there is no MediaQuery in scope, then this will throw an exception.

Implementation

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