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