Files
GitJournal/lib/core/notes_folder.dart
Vishesh Handa 965639e6f2 Add the concept of Folder Settings
This contains the default editor / view / sortingMode / etc. For now the
folder settings are shared among all Folders. But the idea is that we
should be able to set different settings per folder (real or virtual)
2020-03-31 11:16:04 +02:00

22 lines
461 B
Dart

import 'note.dart';
import 'notes_folder_config.dart';
import 'notes_folder_notifier.dart';
export 'notes_folder_config.dart';
abstract class NotesFolder implements NotesFolderNotifier {
bool get isEmpty;
bool get hasNotes;
String get name;
List<Note> get notes;
List<NotesFolder> get subFolders;
NotesFolder get parent;
NotesFolder get fsFolder;
NotesFolderConfig get config;
set config(NotesFolderConfig config);
String pathSpec();
}