SpeedEffectController constructor

SpeedEffectController(
  1. DurationEffectController child, {
  2. required double speed,
})

Implementation

SpeedEffectController(DurationEffectController child, {required this.speed})
    : assert(speed > 0, 'Speed must be positive: $speed'),
      _child = child,
      super.empty();