mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-12 17:09:10 +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);
|