is_desktop property

bool is_desktop
getter/setter pair

Implementation

bool is_desktop =
    ((Platform.isLinux || Platform.isMacOS || Platform.isWindows) &&
        kIsWeb == false);