Skip next & prev

This commit is contained in:
2024-08-28 00:04:45 +08:00
parent 7e7df4dc46
commit 5a53fc7268
5 changed files with 30 additions and 6 deletions

View File

@ -163,6 +163,12 @@ class _BottomPlayerState extends State<BottomPlayer>
mainAxisAlignment: MainAxisAlignment.end,
children: [
IconButton(
icon: const Icon(Icons.skip_next),
onPressed: _isFetchingActiveTrack
? null
: audioPlayer.skipToNext,
),
IconButton.filled(
icon: _isFetchingActiveTrack
? const SizedBox(
height: 20,