speed selector modal

This commit is contained in:
Dr-Blank 2024-05-22 02:13:01 -04:00
parent 73e8f4bfa6
commit 9dcfbee201
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
7 changed files with 207 additions and 20 deletions

View file

@ -39,4 +39,9 @@ class AudiobookPlayer extends _$AudiobookPlayer {
void notifyListeners() {
ref.notifyListeners();
}
Future<void> setSpeed(double speed) async {
await state.setSpeed(speed);
notifyListeners();
}
}