ThemedPlayButton constructor

const ThemedPlayButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. bool isPlaying = false,
  4. Icon playIcon = const Icon(Icons.play_arrow),
  5. Icon pauseIcon = const Icon(Icons.pause),
  6. double widthHeight = 100,
})

Implementation

const ThemedPlayButton({
  super.key,
  required this.onPressed,
  this.isPlaying = false,
  this.playIcon = const Icon(Icons.play_arrow),
  this.pauseIcon = const Icon(Icons.pause),
  this.widthHeight = 100
});