isDesktop top-level property

bool isDesktop

Implementation

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