position property

Animation<double> get position

The visual value of the control.

Usually set to ToggleableStateMixin.position.

Implementation

Animation<double> get position => _position!;
set position (Animation<double> value)

Implementation

set position(Animation<double> value) {
  if (value == _position) {
    return;
  }
  _position?.removeListener(notifyListeners);
  value.addListener(notifyListeners);
  _position = value;
  notifyListeners();
}