isMobile property
bool
get
isMobile
Returns true if the platform is either iOS or Android.
Implementation
static bool get isMobile => PlatformDevice.isIOS || PlatformDevice.isAndroid;
Returns true if the platform is either iOS or Android.
static bool get isMobile => PlatformDevice.isIOS || PlatformDevice.isAndroid;