PlayerControls constructor

const PlayerControls({
  1. Key? key,
  2. required double size,
  3. required Color iconColor,
  4. required Color backgroundColor,
  5. required PlayIconShapeType shapeType,
  6. required bool isPlaying,
  7. required VoidCallback onPlayPause,
  8. required TextDirection textDirection,
})

Constructor for the PlayerControls widget

Implementation

const PlayerControls({
  super.key,
  required this.size,
  required this.iconColor,
  required this.backgroundColor,
  required this.shapeType,
  required this.isPlaying,
  required this.onPlayPause,
  required this.textDirection,
});