selectNode method

void selectNode(
  1. WidgetData node
)

Implementation

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