isDesktop top-level property
Checks whether the running platform is a desktop.
Implementation
bool isDesktop = Platform.isWindows || Platform.isLinux || Platform.isMacOS;
Checks whether the running platform is a desktop.
bool isDesktop = Platform.isWindows || Platform.isLinux || Platform.isMacOS;