This commit is contained in:
rang 2025-12-20 22:48:09 +08:00
parent 0a1147caf7
commit 3362a254ff
4 changed files with 251 additions and 211 deletions

View file

@ -97,7 +97,7 @@ SPEC CHECKSUMS:
share_plus: 8b6f8b3447e494cca5317c8c3073de39b3600d1f share_plus: 8b6f8b3447e494cca5317c8c3073de39b3600d1f
sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
vibration: 3797858f8cbf53d841e189ef8bd533d96e4ca93c vibration: 8e4d81c3e73ab229a9fb5ab2692f789c4a46d74d
PODFILE CHECKSUM: e30f02f9d1c72c47bb6344a0a748c9d268180865 PODFILE CHECKSUM: e30f02f9d1c72c47bb6344a0a748c9d268180865

View file

@ -0,0 +1,15 @@
import 'package:just_audio/just_audio.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
import 'package:shelfsdk/audiobookshelf_api.dart';
part 'abs_status.g.dart';
@Riverpod(keepAlive: true)
class PlayerList extends _$PlayerList {
@override
List<AudioSource> build() {
return [];
}
Future<void> setAudioBook(BookExpanded book, {Duration? position}) async {}
}

View file

@ -0,0 +1,25 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'abs_status.dart';
// **************************************************************************
// RiverpodGenerator
// **************************************************************************
String _$playerListHash() => r'73efb89a7982cd80259e904d75462feb6c8d3457';
/// See also [PlayerList].
@ProviderFor(PlayerList)
final playerListProvider =
NotifierProvider<PlayerList, List<AudioSource>>.internal(
PlayerList.new,
name: r'playerListProvider',
debugGetCreateSourceHash:
const bool.fromEnvironment('dart.vm.product') ? null : _$playerListHash,
dependencies: null,
allTransitiveDependencies: null,
);
typedef _$PlayerList = Notifier<List<AudioSource>>;
// ignore_for_file: type=lint
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package

File diff suppressed because it is too large Load diff