ContextExtensions extension

on

Properties

screenHeight double
Returns screen's height
no setter
screenSize Size
Returns screen Size, containing width and height
no setter
screenWidth double
Returns screen's width
no setter

Methods

isDesktop([double maxWidth = 1024]) bool
isMobile([double maxWidth = 360]) bool
isTablet([double minWidth = 360, double maxWidth = 840]) bool