downPosition property Null safety

Offset? 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;
void downPosition=(Offset? value)

Implementation

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