isDesktop property
bool
get
isDesktop
是否是桌面平台
Implementation
static bool get isDesktop => !isWeb && (Platform.isWindows || Platform.isMacOS || Platform.isLinux);
是否是桌面平台
static bool get isDesktop => !isWeb && (Platform.isWindows || Platform.isMacOS || Platform.isLinux);