SheenMiniPlayer constructor
const
SheenMiniPlayer({
- Key? key,
- required String title,
- String? subtitle,
- ImageProvider<
Object> ? artwork, - bool playing = false,
- bool loading = false,
- double progress = 0,
- VoidCallback? onPlayPause,
- VoidCallback? onNext,
- VoidCallback? onSkipForward,
- Duration skipForward = const Duration(seconds: 30),
- VoidCallback? onOpen,
- VoidCallback? onSwipeNext,
- VoidCallback? onSwipePrevious,
- Object? heroTag,
A mini player for title.
Implementation
const SheenMiniPlayer({
super.key,
required this.title,
this.subtitle,
this.artwork,
this.playing = false,
this.loading = false,
this.progress = 0,
this.onPlayPause,
this.onNext,
this.onSkipForward,
this.skipForward = const Duration(seconds: 30),
this.onOpen,
this.onSwipeNext,
this.onSwipePrevious,
this.heroTag,
});