PlayAndPauseWidgetStyle constructor

PlayAndPauseWidgetStyle({
  1. Widget? play,
  2. Widget? pause,
  3. Widget? replay,
  4. Color? background,
  5. BoxBorder? circleBorder,
  6. double circleRadius = 40,
})

With this argument you will change the play and pause icons, also the style of the circle that appears behind. Note: The play and pause icons are the same ones that appear in the progress bar

Implementation

PlayAndPauseWidgetStyle({
  Widget? play,
  Widget? pause,
  Widget? replay,
  Color? background,
  this.circleBorder,
  this.circleRadius = 40,
})  : background = background ?? Color(0xFF295acc).withOpacity(0.8),
      play = play ?? Icon(Icons.play_arrow, color: Colors.white),
      pause = pause ?? Icon(Icons.pause, color: Colors.white),
      replay = replay ?? Icon(Icons.replay, color: Colors.white);