2528 Commits

Author SHA1 Message Date
5197a84959 Give the NoteEditor a state
This way its creationDate will be accurate
2018-05-24 14:52:53 +02:00
be53a6c129 Android: Add a test MethodCall
This is just to test if the Android bridge is working correctly.
2018-05-24 14:42:36 +02:00
3eeb3ae54c NoteEditor: Show a confirmation dialog if discarding a note 2018-05-24 14:17:38 +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
98ece86579 NoteViewer: Add a footer 2018-05-21 19:23:25 +02:00
a7b5afb817 NoteViewer: Align the header text properly 2018-05-21 18:47:44 +02:00
90c75439ce JournalView: Add a header depicting the date + time 2018-05-21 18:22:49 +02:00
af81fd5a45 Move a widget into its own dir 2018-05-21 18:03:56 +02:00
71d1aca6b5 Implement note deletion
It looks quite ugly, but it works.
2018-05-21 17:16:21 +02:00
973f21a24c Give each Note a unique id
Otherwise we're overwriting that one note.
2018-05-21 17:04:03 +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
40caa985d7 Split the JournalList into its own file
This way the widgets are separate
2018-05-20 11:35:44 +02:00
8adfb776d0 Split NoteViewer into another file 2018-05-17 18:28:20 +02:00
469e25b08f Pass the correct note to the viewer 2018-05-17 17:59:36 +02:00
d2af7534cc Note Json now has a body 2018-05-17 17:59:21 +02:00
0230ed50f5 Move Editor to its own file 2018-05-17 17:59:09 +02:00
fdc07ee94e Show the actual date and time 2018-05-17 17:25:13 +02:00
f3165c2eec Load the notes from the server 2018-05-17 17:18:11 +02:00
173682f40f Make the state explicit 2018-05-17 16:26:18 +02:00
1bb515be87 Cleanup pubspec 2018-05-15 20:10:56 +02:00
79617f155a Add a very simple text editor 2018-05-15 18:25:52 +02:00
017f6d25c7 Add a screen to show a journal entry 2018-05-15 16:49:36 +02:00
7b2d27ebf6 JournalList doesn't have any internal state 2018-05-15 16:20:53 +02:00
44b54bdc36 Add a simple journal list 2018-05-15 16:17:09 +02:00
27023eec84 Implement first tutorial of startup names 2018-05-13 07:38:17 +02:00
321d42c77e Remove README 2018-05-13 06:40:51 +02:00
72712bd4de Initial import from 'flutter create' 2018-05-12 18:45:42 +02:00