Add seekToNext/Previous, hasNext/Previous, polish example.
This commit is contained in:
parent
a494dabcfb
commit
372b4665a5
5 changed files with 184 additions and 74 deletions
|
|
@ -62,6 +62,8 @@ await player.load(
|
|||
],
|
||||
),
|
||||
);
|
||||
player.seekToNext();
|
||||
player.seekToPrevious();
|
||||
// Jump to the beginning of track3.mp3.
|
||||
player.seek(Duration(milliseconds: 0), index: 2);
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue