8 Commits

Author SHA1 Message Date
69998c37f9 Add/Remove individual notes from disk
Instead of rewriting all of them on save.
2018-06-03 19:34:46 +02:00
fd98ef1048 Reverse sort the notes
This way the latest note is on top.
2018-06-03 19:34:28 +02:00
2c68865c46 FileStorage: Allow the note filename to be customizable 2018-06-03 19:34:14 +02:00
157fc425dc FileStorage: Use the YAML Markdown serializer
Instead of saving stuff in json.
2018-06-03 19:14:25 +02:00
b6c38dde3c Use an InheritedWidget instead of passing the callbacks
This simplifies the code quite a bit, at the cost of using this
strange flutter magic of an 'InheritedWidget'.

It basically make a class a global variable.
2018-05-24 12:33:46 +02:00
71d1aca6b5 Implement note deletion
It looks quite ugly, but it works.
2018-05-21 17:16:21 +02:00
0cb36b2981 Make the state global and connect the add note screen
This is a huge work in progress, but it finally seems to kinda work.
2018-05-21 16:51:29 +02:00
4fcc6d9120 Add a FileStorage class
With a test!
2018-05-21 15:31:34 +02:00