pointerPosition property
ScreenPosition?
get
pointerPosition
Gets the last known pointer position in screen/widget-local coordinates (package-private).
Used for drag operations. Returns null if no pointer position is tracked.
Implementation
ScreenPosition? get pointerPosition => interaction.pointerPosition;