setPointerPosition method
Sets the current pointer position.
Parameters:
position- The current pointer position, or null to clear
Implementation
void setPointerPosition(Offset? position) {
runInAction(() {
lastPointerPosition.value = position;
});
}