MinimizedMusicPlayer constructor

MinimizedMusicPlayer({
  1. Widget? playPauseButton = const MinimizedPlayerPlayPauseButton(),
  2. Widget? nextButton,
  3. Widget? previousButton,
  4. BorderRadius borderRadius = BorderRadius.zero,
  5. Color color = Colors.black12,
  6. TextStyle songTitleTextStyle = const TextStyle(color: Colors.white),
  7. TextStyle artistNameTextStyle = const TextStyle(color: Color.fromRGBO(235, 253, 255, 1)),
  8. Color progressBarBackgroundColor = Colors.white10,
  9. Color progressBarColor = Colors.white,
  10. required VoidCallback onTab,
})

Implementation

MinimizedMusicPlayer({
  this.playPauseButton = const MinimizedPlayerPlayPauseButton(),
  this.nextButton,
  this.previousButton,
  this.borderRadius = BorderRadius.zero,
  this.color = Colors.black12,
  this.songTitleTextStyle = const TextStyle(color: Colors.white),
  this.artistNameTextStyle = const TextStyle(color: Color.fromRGBO(235, 253, 255, 1)),
  this.progressBarBackgroundColor = Colors.white10,
  this.progressBarColor = Colors.white,
  required this.onTab,
});