mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
[change dart SDK version to >=2.17.0] update drive icon and mobile style
This commit is contained in:
@@ -9,7 +9,18 @@ import 'package:path/path.dart' as path;
|
||||
import 'model.dart';
|
||||
import 'platform_model.dart';
|
||||
|
||||
enum SortBy { name, type, modified, size }
|
||||
enum SortBy {
|
||||
name,
|
||||
type,
|
||||
modified,
|
||||
size;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
final str = this.name.toString();
|
||||
return "${str[0].toUpperCase()}${str.substring(1)}";
|
||||
}
|
||||
}
|
||||
|
||||
class FileModel extends ChangeNotifier {
|
||||
/// mobile, current selected page show on mobile screen
|
||||
|
||||
Reference in New Issue
Block a user