isDesktop top-level property

bool isDesktop

isDesktop device

Implementation

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