interactions property

NodeInteractions? get interactions

Wires the nodes' reactions while the tree is interactive (a running app); null: nodes don't react. Setting it re-applies every box.

Implementation

NodeInteractions? get interactions => _interactions;
set interactions (NodeInteractions? value)

Implementation

set interactions(NodeInteractions? value) {
  if (identical(value, _interactions)) return;
  for (final b in _boxes.values) {
    _interactions?.released(b);
  }
  _interactions = value;
  for (final b in _boxes.values.toList()) {
    b._apply();
  }
}