common filter

This commit is contained in:
55nknown
2022-09-11 14:46:58 +02:00
parent fd7793a20d
commit 8a39086ca6
20 changed files with 848 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
import 'dart:io';
class PlatformUtils {
static bool get isDesktop => Platform.isWindows || Platform.isMacOS || Platform.isLinux;
static bool get isMobile => !isDesktop;
}