isDesktop property

bool get isDesktop

Implementation

static bool get isDesktop {
  if (kIsWeb) {
    return false;
  } else {
    return Platform.isLinux ||
        Platform.isFuchsia ||
        Platform.isWindows ||
        Platform.isMacOS;
  }
}