MediaQueryContext extension
Contains extensions for easier access to MediaQuery and MediaQueryData using BuildContext
- on
Properties
- mediaQuery → MediaQueryData
-
Available on BuildContext, provided by the MediaQueryContext extension
Returns an instance of MediaQueryData which can be use to get information about the screenno setter - screenPadding → EdgeInsets
-
Available on BuildContext, provided by the MediaQueryContext extension
The parts of the display that are partially obscured by system UI typically by the hardware display "notches" or the system status bar.no setter - screenSize → Size
-
Available on BuildContext, provided by the MediaQueryContext extension
The size of the media in logical pixels (e.g, the size of the screen). This is not the same as screenSize in pixels.no setter