isMobile property
bool
get
isMobile
Check if the current platform is mobile (iOS or Android)
Implementation
static bool get isMobile => !kIsWeb && (isIOS || isAndroid);
Check if the current platform is mobile (iOS or Android)
static bool get isMobile => !kIsWeb && (isIOS || isAndroid);