mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 19:05:51 +00:00
add isDesktop util getter
This commit is contained in:
parent
340cb3ccc3
commit
66522784de
1 changed files with 7 additions and 0 deletions
7
lib/utilities/util.dart
Normal file
7
lib/utilities/util.dart
Normal file
|
@ -0,0 +1,7 @@
|
|||
import 'dart:io';
|
||||
|
||||
abstract class Util {
|
||||
static bool get isDesktop {
|
||||
return Platform.isLinux || Platform.isMacOS || Platform.isWindows;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue