Resposive extension

on

Properties

height double
Return the height of the screen
no setter
isLandscape bool
Return true if the screen is in landScape mode
no setter
isLarge bool
Return true if the screen width is greater than 600
no setter
isMedium bool
Return true if the screen width is between 400 and 600
no setter
isPortrait bool
Return true if the screen is in portrait mode
no setter
isSmall bool
Return true if the screen width is less than 400
no setter
isXLarge bool
Return true if the screen width is greater than 800
no setter
isXSmall bool
Return true if the screen width is less than 300
no setter
isXXLarge bool
Return true if the screen width is greater than 1200
no setter
mSize Size
Return the size of the screen
no setter
responsiveHeight double
Return the height if the device is portrait And return the width if the device is landScape
no setter
responsiveWidth double
Return the width if the device is portrait And return the height if the device is landScape
no setter
width double
Return the width of the screen
no setter