isMobile property

bool get isMobile

Implementation

static bool get isMobile {
  if (kIsWeb) {
    return false;
  } else {
    return Platform.isIOS || Platform.isAndroid;
  }
}