isMobile property
bool
get
isMobile
Whether the screen qualifies as a mobile device (< 600 dp).
Implementation
bool get isMobile => MediaQuery.sizeOf(this).width < 600;
Whether the screen qualifies as a mobile device (< 600 dp).
bool get isMobile => MediaQuery.sizeOf(this).width < 600;