isMobile property
Returns true
if PlatformUtilsImpl.isMobile and MediaQuery's shortest
side is less than 600p
, or otherwise always returns false
.
Implementation
bool get isMobile =>
PlatformUtils.isMobile
? MediaQuery.sizeOf(this).shortestSide < 600
: false;