selectNode method
Implementation
void selectNode(WidgetData node) {
if (selectedNode != node) {
selectedNode = node;
bus.publish("selection", SelectionEvent(selection: node, source: this));
notifyListeners();
}
}
void selectNode(WidgetData node) {
if (selectedNode != node) {
selectedNode = node;
bus.publish("selection", SelectionEvent(selection: node, source: this));
notifyListeners();
}
}