ChecklistEditor: Do not manually destroy the focus nodes

The focus node will dispose themselves
This commit is contained in:
Vishesh Handa
2020-02-19 17:04:17 +01:00
parent d137fb83cf
commit f6c64507c4

View File

@ -70,8 +70,6 @@ class ChecklistEditorState extends State<ChecklistEditor>
@override
void dispose() {
_titleTextController.dispose();
focusNodes.values.forEach((fn) => fn.dispose());
super.dispose();
}