Create value editor prompt

This commit is contained in:
zontreck 2024-07-21 06:05:32 -07:00
parent d5577bb39a
commit 10e9189e31
17 changed files with 143 additions and 42 deletions

View file

@ -45,6 +45,10 @@ class EditorState extends State<Editor> {
}
}
void didChangeState() {
setState(() {});
}
@override
Widget build(BuildContext context) {
controller =
@ -119,7 +123,7 @@ class EditorState extends State<Editor> {
),
body: TreeView(
nodeBuilder: (context, node) {
return TagExt.render(node.data as Tag, context);
return TagExt.render(node.data as Tag, context, didChangeState);
},
controller: controller,
),