更改播放器为media_kit

This commit is contained in:
rang 2025-12-06 17:50:37 +08:00
parent 1a317308dd
commit ac6158123f
14 changed files with 1092 additions and 878 deletions

View file

@ -6,38 +6,54 @@ part of 'abs_provider.dart';
// RiverpodGenerator
// **************************************************************************
String _$absAudioHandlerHash() => r'f4ef20cc3e244d5d37354ef38a1e0fdbd89412f4';
String _$absAudioHandlerInitHash() =>
r'8815383b114e5e3da826afdea58bf0a884b1e3f2';
/// See also [absAudioHandler].
@ProviderFor(absAudioHandler)
final absAudioHandlerProvider = FutureProvider<core.AbsAudioHandler>.internal(
absAudioHandler,
name: r'absAudioHandlerProvider',
/// See also [absAudioHandlerInit].
@ProviderFor(absAudioHandlerInit)
final absAudioHandlerInitProvider =
FutureProvider<core.AbsAudioHandler>.internal(
absAudioHandlerInit,
name: r'absAudioHandlerInitProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
? null
: _$absAudioHandlerHash,
: _$absAudioHandlerInitHash,
dependencies: null,
allTransitiveDependencies: null,
);
@Deprecated('Will be removed in 3.0. Use Ref instead')
// ignore: unused_element
typedef AbsAudioHandlerRef = FutureProviderRef<core.AbsAudioHandler>;
String _$absAudioPlayerHash() => r'68a56d45a9f165d257c23f81d9bf7d0930425464';
typedef AbsAudioHandlerInitRef = FutureProviderRef<core.AbsAudioHandler>;
String _$absPlayerHash() => r'c313a2456bb221b83f3cd2142ae63d6463ef304b';
/// See also [AbsAudioPlayer].
@ProviderFor(AbsAudioPlayer)
final absAudioPlayerProvider =
NotifierProvider<AbsAudioPlayer, core.AbsAudioPlayer>.internal(
AbsAudioPlayer.new,
name: r'absAudioPlayerProvider',
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
? null
: _$absAudioPlayerHash,
/// See also [AbsPlayer].
@ProviderFor(AbsPlayer)
final absPlayerProvider =
NotifierProvider<AbsPlayer, core.AbsAudioHandler>.internal(
AbsPlayer.new,
name: r'absPlayerProvider',
debugGetCreateSourceHash:
const bool.fromEnvironment('dart.vm.product') ? null : _$absPlayerHash,
dependencies: null,
allTransitiveDependencies: null,
);
typedef _$AbsAudioPlayer = Notifier<core.AbsAudioPlayer>;
typedef _$AbsPlayer = Notifier<core.AbsAudioHandler>;
String _$absStateHash() => r'fb11d9d970e0de2dfd722c1f0de2a3b9b10f2859';
/// See also [AbsState].
@ProviderFor(AbsState)
final absStateProvider =
NotifierProvider<AbsState, core.AbsPlayerState>.internal(
AbsState.new,
name: r'absStateProvider',
debugGetCreateSourceHash:
const bool.fromEnvironment('dart.vm.product') ? null : _$absStateHash,
dependencies: null,
allTransitiveDependencies: null,
);
typedef _$AbsState = Notifier<core.AbsPlayerState>;
// 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