Create value editor prompt
This commit is contained in:
parent
d5577bb39a
commit
10e9189e31
17 changed files with 143 additions and 42 deletions
|
@ -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,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue