Fix const error

This commit is contained in:
Vishesh Handa
2019-03-05 23:56:47 +01:00
parent 99450b9d5a
commit b32724021a

View File

@ -18,10 +18,9 @@ class AppState {
String gitBaseDirectory = ""; String gitBaseDirectory = "";
bool isLoadingFromDisk; bool isLoadingFromDisk;
List<Note> notes; List<Note> notes = [];
AppState({ AppState({
this.isLoadingFromDisk = false, this.isLoadingFromDisk = false,
this.notes = const [],
}); });
} }