isDesktop property
bool
isDesktop
Implementation
static bool get isDesktop =>
defaultTargetPlatform == TargetPlatform.macOS ||
defaultTargetPlatform == TargetPlatform.linux ||
defaultTargetPlatform == TargetPlatform.windows;