isDesktop top-level property

bool get isDesktop

Implementation

bool get isDesktop =>
    !isWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS);