mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-09 15:29:31 +08:00
5 lines
170 B
Dart
5 lines
170 B
Dart
import 'dart:io' show Platform;
|
|
import 'package:flutter/foundation.dart';
|
|
|
|
bool get isDesktop => !kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS);
|