position property Null safety
The visual value of the control.
Usually set to ToggleableStateMixin.position.
Implementation
Animation<double> get position => _position!;
Implementation
set position(Animation<double> value) {
if (value == _position) {
return;
}
_position?.removeListener(notifyListeners);
value.addListener(notifyListeners);
_position = value;
notifyListeners();
}