[Android] Try write to external storage first

This commit is contained in:
2023-09-08 14:33:47 +08:00
parent d2f8af335f
commit 64ce9ddf5d
2 changed files with 24 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ import 'package:flutter/foundation.dart';
bool get isDesktop =>
!kIsWeb && (Platform.isWindows || Platform.isLinux || Platform.isMacOS);
bool get isWindows => !kIsWeb && Platform.isWindows;
bool get isAndroid => !kIsWeb && Platform.isAndroid;