lastPointerPosition property

Observable<ScreenPosition?> lastPointerPosition
final

Observable position of the last pointer event in screen/widget-local coordinates.

This position is relative to the NodeFlowEditor widget's top-left corner, used for tracking cursor movement during interactions like drag selection. For graph coordinates, use NodeFlowController.viewport.toGraph. Uses ScreenPosition for compile-time type safety.

Implementation

final Observable<ScreenPosition?> lastPointerPosition =
    Observable<ScreenPosition?>(null);