isDesktop top-level property

bool isDesktop
getter/setter pair

Checks whether the running platform is a desktop.

Implementation

bool isDesktop = Platform.isWindows || Platform.isLinux || Platform.isMacOS;