nearest method
- TransformNode node
The element nearest to node, or null if this is empty.
Never returns node itself.
Implementation
T? nearest(TransformNode node) => _nearestTo(node.absolutePosition, node);
The element nearest to node, or null if this is empty.
Never returns node itself.
T? nearest(TransformNode node) => _nearestTo(node.absolutePosition, node);