16 Commits

Author SHA1 Message Date
ea8cd35261 Fix deprecated methods 2023-02-09 16:00:29 +01:00
6d453ee62a Rename app_localization_context to l10n
It's easier to enter and this file now contains far more things
2022-11-27 17:52:03 +01:00
b925da7a47 Use the generated localization instead of easy_localization
Not everywhere, but a large part of the code base.

This way, hot reloading will also reload the strings which makes for
such a better developer experience.
2022-11-19 03:02:01 +01:00
ae9228f65e Use super.key
Makes the code a bit more readable.
2022-08-25 11:32:25 +02:00
04c6e42368 NoteBodyEditor: Pack it more densely
This avoids the first line moving after starting to type the second
line. Why does this fix it? I have no idea. At this point I feel like a
monkey searching on StackOverflow and trying different things at random.
Urgh.
2021-12-28 18:00:34 +01:00
39959bbc5f findInNote: Some experiments + planning 2021-09-27 23:51:40 +02:00
c4ef1f569b Use flutter_lint
Instead of picking lint values. This way I don't need to routinely
looking at extra lints to enable.
2021-09-21 15:42:13 +02:00
33a731a3d7 Add reuse licensing to files in lib 2021-09-15 13:06:43 +02:00
455844e9b0 LocaleKeys++ 2021-08-26 13:54:39 +02:00
a8de212430 Port most of the editors to null safety 2021-05-25 12:39:35 +02:00
ee2f0e85aa Editors: Remove the padding
This is weird. In some themes there in an internal padding, and in some
themes, there in none. I didn't think themes would affect this.

Also isDense and isCollapsed work in strange ways. I wish this was
properly documented.

I basically want to remove the left padding, and insert a normal top and
bottom padding. Is that too much to ask?
2021-05-06 15:15:52 +02:00
d40c1992cc Editors: Remove hover color change 2021-05-06 15:15:52 +02:00
3d07328aab Editors: Set background color
With Flutter 2, the way the theme has set has changed, so I'm slowly
migrating to Flex Color Scheme, and fixing all the widgets that look
strange.
2021-05-06 15:15:52 +02:00
d008f0d982 First version of dart migrate
Most of the files haven't been migrated. Lets work on this bit by bit
2021-04-10 22:18:35 +02:00
e6e0e08fe4 Mark more strings as translatable 2020-08-10 12:16:03 +02:00
15b978cacb Editors: Remove code duplication 2020-07-28 15:37:31 +02:00