Basic implementation of undo/redo

It's not great, as the granularity is too low. But it's a good first
step. It only works in the RawEditor so far.
This commit is contained in:
Vishesh Handa
2021-02-03 16:03:01 +01:00
parent e80fff575c
commit ebff34b753
7 changed files with 118 additions and 13 deletions

View File

@ -185,6 +185,8 @@ class ChecklistEditorState extends State<ChecklistEditor>
),
onUndoSelected: _undo,
onRedoSelected: _redo,
undoAllowed: false,
redoAllowed: false,
);
}