refactor: use listview for file lists

This commit is contained in:
Kingtous
2023-02-15 15:03:19 +08:00
parent 20be9e10b1
commit 8df357c941
3 changed files with 186 additions and 128 deletions

View File

@@ -75,6 +75,10 @@ class FileModel extends ChangeNotifier {
return isLocal ? _localSortStyle : _remoteSortStyle;
}
bool getSortAscending(bool isLocal) {
return isLocal ? _localSortAscending : _remoteSortAscending;
}
FileDirectory _currentLocalDir = FileDirectory();
FileDirectory get currentLocalDir => _currentLocalDir;