screen_config library

Classes

ScreenConfig

Properties

blockSizeHorizontal double
A part of the total screen width set according to the blockSize passed on initialization
getter/setter pair
blockSizeVertical double
A part of the total screen height set according to the blockSize passed on initialization
getter/setter pair
mediaQueryData MediaQueryData
getter/setter pair
safeAreaHorizontal double
The value occupied for padding parts of the display that are partially obscured by system UI horizontally
getter/setter pair
safeAreaVertical double
The value occupied for padding parts of the display that are partially obscured by system UI vertically
getter/setter pair
safeBlockHorizontal double
A part of the total screen width set according to the blockSize passed on initialization to which was reduced the value occupied for padding parts of the display that are partially obscured by system UI horizontally
getter/setter pair
safeBlockVertical double
A part of the total screen height set according to the blockSize passed on initialization to which was reduced the value occupied for padding parts of the display that are partially obscured by system UI vertically
getter/setter pair
screenHeight double
The height of the screen Usage example: width:ScreenConfig.screenHeight*0.5
getter/setter pair
screenWidth double
The width of the screen Usage example: width:ScreenConfig.screenWidth*0.5
getter/setter pair
viewInsets EdgeInsets
The parts of the display that are completely obscured by system UI, typically by the device's keyboard.
getter/setter pair