SpeedButton constructor

const SpeedButton({
  1. Key? key,
  2. required double currentSpeed,
  3. required List<double> playbackSpeeds,
  4. required dynamic setSpeed(
    1. double speed
    ),
  5. required Color iconColor,
  6. Color? backgroundColor,
})

Constructor for the SpeedButton

Implementation

const SpeedButton({
  super.key,
  required this.currentSpeed,
  required this.playbackSpeeds,
  required this.setSpeed,
  required this.iconColor,
  this.backgroundColor,
});