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