isDesktop property

bool get isDesktop

是否是桌面系统

Implementation

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