isPhone property
bool
get
isPhone
Returns true if the width is less than or equal to 480 pixels.
Implementation
bool get isPhone => width > 180 && width <= 480;
Returns true if the width is less than or equal to 480 pixels.
bool get isPhone => width > 180 && width <= 480;