speed property Null safety

double speed

Playback speed multiplier.

Implementation

double get speed => _speed;
void speed=(double value)

Change the _speed field value. speedChanged will be invoked only if the field's value has changed.

Implementation

set speed(double value) {
  if (_speed == value) {
    return;
  }
  double from = _speed;
  _speed = value;
  if (hasValidated) {
    speedChanged(from, value);
  }
}