isMobile property

bool get isMobile

Check if the current platform is mobile (iOS or Android)

Implementation

static bool get isMobile => !kIsWeb && (isIOS || isAndroid);