Adds delete functionality
This commit is contained in:
parent
eee0c035b5
commit
fbd2decd26
15 changed files with 29 additions and 30 deletions
|
@ -193,8 +193,7 @@ class EditorState extends State<Editor> {
|
|||
body: TreeView(
|
||||
nodeBuilder: (context, node) {
|
||||
if (node.data is Tag) {
|
||||
return TagExt.render(
|
||||
node.data as Tag, context, didChangeState, true);
|
||||
return TagExt.render(node.data as Tag, context, didChangeState);
|
||||
} else {
|
||||
return ListTile(
|
||||
title: Text(node.label),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue