isDesktop property
bool
get
isDesktop
Returns true
if the current platform is desktop (macOS, Windows, or Linux).
Implementation
static bool get isDesktop => isMacOS || isWindows || isLinux;
Returns true
if the current platform is desktop (macOS, Windows, or Linux).
static bool get isDesktop => isMacOS || isWindows || isLinux;