Files
GitJournal/lib/core/notes_folder.dart
Vishesh Handa 9499cea164 Remove Settings global
Stop it being a singleton. This means it needs to be passed around a
lot. This sucks, but it's how it should be. I shouldn't be using a
global variable to get around this.

This is needed as Settings will soon become repo specific when we
support multiple repos.

This breaks saving the settings in a file, that feature was toggled off
anyway. It needs to be thought over again.
2020-10-09 00:59:19 +02:00

22 lines
446 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;
String get publicName;
List<Note> get notes;
List<NotesFolder> get subFolders;
NotesFolder get parent;
NotesFolder get fsFolder;
NotesFolderConfig get config;
String pathSpec();
}