mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add Linux support
This commit is contained in:
@@ -4,6 +4,7 @@ import 'package:flutter/foundation.dart';
|
||||
bool get isDesktop =>
|
||||
!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS);
|
||||
bool get isWindows => !kIsWeb && Platform.isWindows;
|
||||
bool get isLinux => !kIsWeb && Platform.isLinux;
|
||||
bool get isAndroid => !kIsWeb && Platform.isAndroid;
|
||||
bool get isIOS => !kIsWeb && Platform.isIOS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user