isMobile property

bool get isMobile

Whether the current platform is a phone/tablet.

Implementation

static bool get isMobile => isAndroid || isIOS;