mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-06 02:59:28 +00:00
upgrade to flutter 3.27.4
This commit is contained in:
parent
e7946feca1
commit
2fd4650bb8
44 changed files with 433 additions and 315 deletions
|
|
@ -27,7 +27,7 @@ extension on Ref {
|
|||
|
||||
@Riverpod(keepAlive: true)
|
||||
Raw<ValueNotifier<double>> playerExpandProgressNotifier(
|
||||
PlayerExpandProgressNotifierRef ref,
|
||||
Ref ref,
|
||||
) {
|
||||
final ValueNotifier<double> playerExpandProgress =
|
||||
ValueNotifier(playerMinHeight);
|
||||
|
|
@ -47,7 +47,7 @@ Raw<ValueNotifier<double>> playerExpandProgressNotifier(
|
|||
// a provider that will listen to the playerExpandProgressNotifier and return the percentage of the player expanded
|
||||
@Riverpod(keepAlive: true)
|
||||
double playerHeight(
|
||||
PlayerHeightRef ref,
|
||||
Ref ref,
|
||||
) {
|
||||
final playerExpandProgress = ref.watch(playerExpandProgressNotifierProvider);
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ final audioBookMiniplayerController = MiniplayerController();
|
|||
|
||||
@Riverpod(keepAlive: true)
|
||||
bool isPlayerActive(
|
||||
IsPlayerActiveRef ref,
|
||||
Ref ref,
|
||||
) {
|
||||
try {
|
||||
final player = ref.watch(audiobookPlayerProvider);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue