Add experimental card view

This notes are displayed as cards. This is meant to emulate a more
google keep style.
This commit is contained in:
Vishesh Handa
2020-03-12 14:23:15 +01:00
parent 48f4d52c40
commit f4dd4fd148
4 changed files with 35 additions and 12 deletions

View File

@ -271,6 +271,7 @@ class SettingsEditorType {
class SettingsFolderViewType {
static const Standard = SettingsFolderViewType("Standard", "Standard");
static const Journal = SettingsFolderViewType("Journal", "Journal");
static const Card = SettingsFolderViewType("Card", "Card");
static const Default = Standard;
final String _str;
@ -288,6 +289,7 @@ class SettingsFolderViewType {
static const options = <SettingsFolderViewType>[
Standard,
Journal,
Card,
];
static SettingsFolderViewType fromInternalString(String str) {