platformIsDesktop property
bool
get
platformIsDesktop
Implementation
static bool get platformIsDesktop {
if (kIsWeb) return false;
return Platform.isWindows || Platform.isMacOS || Platform.isLinux;
}