isMobile property
bool
isMobile
Whether the app is running on a phone.
Implementation
bool get isMobile => windowType == AdaptiveWindowType.xsmall;
Whether the app is running on a phone.
bool get isMobile => windowType == AdaptiveWindowType.xsmall;