MediaQueryContext extension
Contains extensions for easier access to MediaQuery and MediaQueryData using BuildContext
- on
Properties
- mediaQuery → MediaQueryData
-
Returns an instance of MediaQueryData
which can be use to get information about the screen
no setter
- screenPadding → EdgeInsets
-
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
-
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