mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
chore: upgrade dependencies
This commit is contained in:
parent
0f5748a24b
commit
d6127cf797
@ -110,8 +110,8 @@ final router = GoRouter(
|
|||||||
GoRoute(
|
GoRoute(
|
||||||
path: "/artist/:id",
|
path: "/artist/:id",
|
||||||
pageBuilder: (context, state) {
|
pageBuilder: (context, state) {
|
||||||
assert(state.params["id"] != null);
|
assert(state.pathParameters["id"] != null);
|
||||||
return SpotubePage(child: ArtistPage(state.params["id"]!));
|
return SpotubePage(child: ArtistPage(state.pathParameters["id"]!));
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
GoRoute(
|
GoRoute(
|
||||||
|
@ -89,7 +89,7 @@ class TrackCollectionView<T> extends HookConsumerWidget {
|
|||||||
|
|
||||||
useCustomStatusBarColor(
|
useCustomStatusBarColor(
|
||||||
Colors.transparent,
|
Colors.transparent,
|
||||||
GoRouter.of(context).location == routePath,
|
GoRouterState.of(context).matchedLocation == routePath,
|
||||||
);
|
);
|
||||||
|
|
||||||
useEffect(() {
|
useEffect(() {
|
||||||
|
@ -7,7 +7,7 @@ bool? useIsCurrentRoute([String matcher = "/"]) {
|
|||||||
final context = useContext();
|
final context = useContext();
|
||||||
useEffect(() {
|
useEffect(() {
|
||||||
WidgetsBinding.instance.addPostFrameCallback((timer) {
|
WidgetsBinding.instance.addPostFrameCallback((timer) {
|
||||||
final isCurrent = GoRouter.of(context).location == matcher;
|
final isCurrent = GoRouterState.of(context).matchedLocation == matcher;
|
||||||
if (isCurrent != isCurrentRoute.value) {
|
if (isCurrent != isCurrentRoute.value) {
|
||||||
isCurrentRoute.value = isCurrent;
|
isCurrentRoute.value = isCurrent;
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ class PlayerView extends HookConsumerWidget {
|
|||||||
|
|
||||||
useCustomStatusBarColor(
|
useCustomStatusBarColor(
|
||||||
bgColor,
|
bgColor,
|
||||||
GoRouter.of(context).location == "/player",
|
GoRouterState.of(context).matchedLocation == "/player",
|
||||||
noSetBGColor: true,
|
noSetBGColor: true,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ abstract class ServiceUtils {
|
|||||||
.trim();
|
.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated("In favor spotify lyrics api, this isn't needed anymore")
|
|
||||||
static String getTitle(
|
static String getTitle(
|
||||||
String title, {
|
String title, {
|
||||||
List<String> artists = const [],
|
List<String> artists = const [],
|
||||||
|
56
pubspec.lock
56
pubspec.lock
@ -657,10 +657,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: flutter_hooks
|
name: flutter_hooks
|
||||||
sha256: "6a126f703b89499818d73305e4ce1e3de33b4ae1c5512e3b8eab4b986f46774c"
|
sha256: "9eab8fd7aa752c3c1c0a364f9825851d410eb935243411682f4b1b0a4c569d71"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.18.6"
|
version: "0.20.0"
|
||||||
flutter_inappwebview:
|
flutter_inappwebview:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@ -853,18 +853,18 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: go_router
|
name: go_router
|
||||||
sha256: "5a0b2e0bc88a006c09d2b419004ffabecf83a74520b8852ea148f22e82634c27"
|
sha256: b3cadd2cd59a4103fd5f6bc572ca75111264698784e927aa471921c3477d5475
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "6.0.6"
|
version: "10.0.0"
|
||||||
google_fonts:
|
google_fonts:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: google_fonts
|
name: google_fonts
|
||||||
sha256: "6b6f10f0ce3c42f6552d1c70d2c28d764cf22bb487f50f66cca31dcd5194f4d6"
|
sha256: e20ff62b158b96f392bfc8afe29dee1503c94fbea2cbe8186fd59b756b8ae982
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.0.4"
|
version: "5.1.0"
|
||||||
gotrue:
|
gotrue:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -933,10 +933,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: http
|
name: http
|
||||||
sha256: "6aa2946395183537c8b880962d935877325d6a09a2867c3970c05c0fed6ac482"
|
sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.13.5"
|
version: "1.1.0"
|
||||||
http_multi_server:
|
http_multi_server:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1082,58 +1082,58 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: media_kit
|
name: media_kit
|
||||||
sha256: "272a9f1dd77ed57b48707fdb0ec0e4a048ef958feccc0d0dd751135fe924b63a"
|
sha256: f19151ff1a1724ed8675f066b40e74af6d155fc859cb74487daeae2cbeff53e0
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.1.1"
|
version: "1.1.3+1"
|
||||||
media_kit_libs_android_audio:
|
media_kit_libs_android_audio:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: media_kit_libs_android_audio
|
name: media_kit_libs_android_audio
|
||||||
sha256: "304b6d4045280b11bf7b4f9a4330556dbc98d7431f2c20e9dec133ed80d3ec78"
|
sha256: "767a93c44da73b7103a1fcbe2346f7211b7c44fa727f359410e690a156f630c5"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.3.0"
|
version: "1.3.1"
|
||||||
media_kit_libs_ios_audio:
|
media_kit_libs_ios_audio:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: media_kit_libs_ios_audio
|
name: media_kit_libs_ios_audio
|
||||||
sha256: "1b6f7bbaedb2914bb94bb22d5a890238dc883698b42a1a858e9c38194e6281d0"
|
sha256: d643550be8ae26e2400dbae451fbaf4b19aede16646526807272702b83053322
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.5"
|
version: "1.1.2"
|
||||||
media_kit_libs_linux:
|
media_kit_libs_linux:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: media_kit_libs_linux
|
name: media_kit_libs_linux
|
||||||
sha256: "21acc71cbae3518b3aeef9023a6a3a3decb579a40153764333814987ccd61040"
|
sha256: "838b9e8041d376873cc938872c75812989d0feb247ad93afd8dbc92bf052680a"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.2"
|
version: "1.1.0"
|
||||||
media_kit_libs_macos_audio:
|
media_kit_libs_macos_audio:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: media_kit_libs_macos_audio
|
name: media_kit_libs_macos_audio
|
||||||
sha256: "070dc90ecf3a07dcb23d39f8473329e8e4616c36d12badd0831fef446428acc2"
|
sha256: "408cceb6e2c8a8f332e5e97f0534ac82f260328bb3fc3464a27f1862f55a0244"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.6"
|
version: "1.1.2"
|
||||||
media_kit_libs_windows_audio:
|
media_kit_libs_windows_audio:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: media_kit_libs_windows_audio
|
name: media_kit_libs_windows_audio
|
||||||
sha256: "34b768e385181b2e475dd846345ed1191bde85a4c64db014d239d4c9f844c5fd"
|
sha256: "1ab55cc89ece7ebc0859ebf17b09e39a03d44c24667bdd96bd7ea3d6a2e9f69a"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.5"
|
version: "1.0.6"
|
||||||
media_kit_native_event_loop:
|
media_kit_native_event_loop:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: media_kit_native_event_loop
|
name: media_kit_native_event_loop
|
||||||
sha256: "5351f0c28124b5358756515d8619abad182cdefe967468d7fb5b274737cc2f59"
|
sha256: e37ce6fb5fa71b8cf513c6a6cd591367743a342a385e7da621a047dd8ef6f4a4
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.6"
|
version: "1.0.7"
|
||||||
meta:
|
meta:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1210,10 +1210,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: package_info_plus
|
name: package_info_plus
|
||||||
sha256: "8df5ab0a481d7dc20c0e63809e90a588e496d276ba53358afc4c4443d0a00697"
|
sha256: "6ff267fcd9d48cb61c8df74a82680e8b82e940231bb5f68356672fde0397334a"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.0.3"
|
version: "4.1.0"
|
||||||
package_info_plus_platform_interface:
|
package_info_plus_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1647,10 +1647,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: source_gen
|
name: source_gen
|
||||||
sha256: c2bea18c95cfa0276a366270afaa2850b09b4a76db95d546f3d003dcc7011298
|
sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.2.7"
|
version: "1.4.0"
|
||||||
source_helper:
|
source_helper:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -2072,10 +2072,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: youtube_explode_dart
|
name: youtube_explode_dart
|
||||||
sha256: "07889a6229a63e78f8d45a3b852897c2e0fa42e96c4daa38d411be211575bc38"
|
sha256: c5c5a7ddec7d42d341cb8e49d628c4b81618f927bbf81dbfa9c550bee39ef45d
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.12.4"
|
version: "2.0.1"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=3.0.0 <4.0.0"
|
dart: ">=3.0.0 <4.0.0"
|
||||||
flutter: ">=3.10.0"
|
flutter: ">=3.10.0"
|
||||||
|
47
pubspec.yaml
47
pubspec.yaml
@ -26,6 +26,12 @@ dependencies:
|
|||||||
collection: ^1.15.0
|
collection: ^1.15.0
|
||||||
cupertino_icons: ^1.0.5
|
cupertino_icons: ^1.0.5
|
||||||
curved_navigation_bar: ^1.0.3
|
curved_navigation_bar: ^1.0.3
|
||||||
|
dbus: ^0.7.8
|
||||||
|
device_info_plus: ^9.0.3
|
||||||
|
device_preview: ^1.1.0
|
||||||
|
dio: ^5.3.2
|
||||||
|
disable_battery_optimization: ^1.1.0+1
|
||||||
|
duration: ^3.0.12
|
||||||
envied: ^0.3.0
|
envied: ^0.3.0
|
||||||
file_picker: ^5.2.2
|
file_picker: ^5.2.2
|
||||||
fl_query: ^1.0.0-alpha.3
|
fl_query: ^1.0.0-alpha.3
|
||||||
@ -39,8 +45,9 @@ dependencies:
|
|||||||
git:
|
git:
|
||||||
url: https://github.com/KRTirtho/flutter_desktop_tools.git
|
url: https://github.com/KRTirtho/flutter_desktop_tools.git
|
||||||
ref: 1f0bec3283626dcbd8ee2f54e238d096d8dea50e
|
ref: 1f0bec3283626dcbd8ee2f54e238d096d8dea50e
|
||||||
|
flutter_displaymode: ^0.6.0
|
||||||
flutter_feather_icons: ^2.0.0+1
|
flutter_feather_icons: ^2.0.0+1
|
||||||
flutter_hooks: ^0.18.2+1
|
flutter_hooks: ^0.20.0
|
||||||
flutter_inappwebview: ^5.7.2+3
|
flutter_inappwebview: ^5.7.2+3
|
||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
@ -49,30 +56,32 @@ dependencies:
|
|||||||
flutter_secure_storage: ^8.0.0
|
flutter_secure_storage: ^8.0.0
|
||||||
flutter_svg: ^1.1.6
|
flutter_svg: ^1.1.6
|
||||||
fuzzywuzzy: ^0.2.0
|
fuzzywuzzy: ^0.2.0
|
||||||
go_router: ^6.0.2
|
google_fonts: ^5.1.0
|
||||||
|
go_router: ^10.0.0
|
||||||
hive: ^2.2.3
|
hive: ^2.2.3
|
||||||
hive_flutter: ^1.1.0
|
hive_flutter: ^1.1.0
|
||||||
hooks_riverpod: ^2.1.1
|
hooks_riverpod: ^2.1.1
|
||||||
html: ^0.15.1
|
html: ^0.15.1
|
||||||
http: ^0.13.5
|
http: ^1.1.0
|
||||||
intl: ^0.18.0
|
intl: ^0.18.0
|
||||||
introduction_screen: ^3.0.2
|
introduction_screen: ^3.0.2
|
||||||
json_annotation: ^4.8.1
|
json_annotation: ^4.8.1
|
||||||
logger: ^1.1.0
|
logger: ^1.1.0
|
||||||
media_kit: ^1.1.1
|
media_kit: ^1.1.3
|
||||||
media_kit_native_event_loop: ^1.0.6
|
media_kit_native_event_loop: ^1.0.7
|
||||||
media_kit_libs_android_audio: ^1.3.0
|
media_kit_libs_android_audio: ^1.3.1
|
||||||
media_kit_libs_ios_audio: ^1.0.5
|
media_kit_libs_ios_audio: ^1.1.2
|
||||||
media_kit_libs_macos_audio: ^1.0.6
|
media_kit_libs_macos_audio: ^1.1.2
|
||||||
media_kit_libs_windows_audio: ^1.0.5
|
media_kit_libs_windows_audio: ^1.0.6
|
||||||
media_kit_libs_linux: ^1.0.2
|
media_kit_libs_linux: ^1.1.0
|
||||||
metadata_god: ^0.5.0
|
metadata_god: ^0.5.0
|
||||||
mime: ^1.0.2
|
mime: ^1.0.2
|
||||||
package_info_plus: ^3.0.2
|
package_info_plus: ^4.1.0
|
||||||
palette_generator: ^0.3.3
|
palette_generator: ^0.3.3
|
||||||
path: ^1.8.0
|
path: ^1.8.0
|
||||||
path_provider: ^2.0.8
|
path_provider: ^2.0.8
|
||||||
permission_handler: ^10.2.0
|
permission_handler: ^10.2.0
|
||||||
|
piped_client: ^0.1.0
|
||||||
popover: ^0.2.6+3
|
popover: ^0.2.6+3
|
||||||
scroll_to_index: ^3.0.1
|
scroll_to_index: ^3.0.1
|
||||||
shared_preferences: ^2.0.11
|
shared_preferences: ^2.0.11
|
||||||
@ -80,6 +89,7 @@ dependencies:
|
|||||||
skeleton_text: ^3.0.0
|
skeleton_text: ^3.0.0
|
||||||
smtc_windows: ^0.1.0
|
smtc_windows: ^0.1.0
|
||||||
spotify: ^0.11.0
|
spotify: ^0.11.0
|
||||||
|
supabase: ^1.9.9
|
||||||
system_theme: ^2.1.0
|
system_theme: ^2.1.0
|
||||||
titlebar_buttons: ^1.0.0
|
titlebar_buttons: ^1.0.0
|
||||||
url_launcher: ^6.1.7
|
url_launcher: ^6.1.7
|
||||||
@ -92,17 +102,7 @@ dependencies:
|
|||||||
url: https://github.com/google/flutter-desktop-embedding.git
|
url: https://github.com/google/flutter-desktop-embedding.git
|
||||||
ref: a738913c8ce2c9f47515382d40827e794a334274
|
ref: a738913c8ce2c9f47515382d40827e794a334274
|
||||||
path: plugins/window_size
|
path: plugins/window_size
|
||||||
piped_client: ^0.1.0
|
youtube_explode_dart: ^2.0.1
|
||||||
device_preview: ^1.1.0
|
|
||||||
dbus: ^0.7.8
|
|
||||||
duration: ^3.0.12
|
|
||||||
disable_battery_optimization: ^1.1.0+1
|
|
||||||
youtube_explode_dart: ^1.12.4
|
|
||||||
flutter_displaymode: ^0.6.0
|
|
||||||
google_fonts: ^4.0.4
|
|
||||||
supabase: ^1.9.9
|
|
||||||
dio: ^5.3.2
|
|
||||||
device_info_plus: ^9.0.3
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
build_runner: ^2.3.2
|
build_runner: ^2.3.2
|
||||||
@ -121,7 +121,8 @@ dev_dependencies:
|
|||||||
pubspec_parse: ^1.2.2
|
pubspec_parse: ^1.2.2
|
||||||
|
|
||||||
dependency_overrides:
|
dependency_overrides:
|
||||||
package_info_plus: ^3.0.2
|
http: ^1.1.0
|
||||||
|
flutter_hooks: ^0.20.0
|
||||||
|
|
||||||
flutter:
|
flutter:
|
||||||
generate: true
|
generate: true
|
||||||
|
Loading…
Reference in New Issue
Block a user