isDesktop top-level property
Test if we are running on a desktop platform but not in a browser.
Implementation
bool get isDesktop {
if (kIsWeb) return false;
return Platform.isLinux || Platform.isMacOS || Platform.isWindows;
}
Test if we are running on a desktop platform but not in a browser.
bool get isDesktop {
if (kIsWeb) return false;
return Platform.isLinux || Platform.isMacOS || Platform.isWindows;
}