isMobilePlatform method

bool isMobilePlatform()

Implementation

bool isMobilePlatform() {
  if (kIsWeb) {
    return false;
  } else {
    if (Platform.isMacOS || Platform.isWindows) {
      return false;
    }
  }
  return true;
}