isMobile property
Indicates if the app is running on a mobile platform (not web).
Returns true if the current platform is Android or iOS, and the app is
not running on the web. Otherwise, it returns false.
Implementation
static bool get isMobile =>
_mobilePlatforms.contains(defaultTargetPlatform) && !kIsWeb;