isDesktop top-level property
bool
isDesktop
return true if running on Desktop
Implementation
bool get isDesktop =>
!isWeb && (Platform.isMacOS || Platform.isWindows || Platform.isLinux);
return true if running on Desktop
bool get isDesktop =>
!isWeb && (Platform.isMacOS || Platform.isWindows || Platform.isLinux);