MinimizedMusicPlayer constructor
MinimizedMusicPlayer({
- Widget? playPauseButton = const MinimizedPlayerPlayPauseButton(),
- Widget? nextButton,
- Widget? previousButton,
- BorderRadius borderRadius = BorderRadius.zero,
- Color color = Colors.black12,
- TextStyle songTitleTextStyle = const TextStyle(color: Colors.white),
- TextStyle artistNameTextStyle = const TextStyle(color: Color.fromRGBO(235, 253, 255, 1)),
- Color progressBarBackgroundColor = Colors.white10,
- Color progressBarColor = Colors.white,
- 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,
});