downPosition property

Offset? get downPosition

The Offset within the Toggleable at which a pointer touched the Toggleable.

This is null if currently no pointer is touching the Toggleable.

Usually set to ToggleableStateMixin.downPosition.

Implementation

Offset? get downPosition => _downPosition;
set downPosition (Offset? value)

Implementation

set downPosition(Offset? value) {
  if (value == _downPosition) {
    return;
  }
  _downPosition = value;
  notifyListeners();
}