mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-12 02:09:12 +08:00
6e44a91d0b
* Refact. Flutter web desktop Signed-off-by: fufesou <shuanglongchen@yeah.net> * Flutter web, prevent default context menu Signed-off-by: fufesou <shuanglongchen@yeah.net> --------- Signed-off-by: fufesou <shuanglongchen@yeah.net>
14 lines
360 B
Dart
14 lines
360 B
Dart
import 'dart:io';
|
|
|
|
final isAndroid_ = Platform.isAndroid;
|
|
final isIOS_ = Platform.isIOS;
|
|
final isWindows_ = Platform.isWindows;
|
|
final isMacOS_ = Platform.isMacOS;
|
|
final isLinux_ = Platform.isLinux;
|
|
final isWeb_ = false;
|
|
final isWebDesktop_ = false;
|
|
|
|
final isDesktop_ = Platform.isWindows || Platform.isMacOS || Platform.isLinux;
|
|
|
|
String get screenInfo_ => '';
|