From 25fabfbc4aa138c02d726c034cda0f4655c7faa6 Mon Sep 17 00:00:00 2001 From: w8385 Date: Mon, 14 Oct 2024 21:50:00 +0900 Subject: [PATCH] chore(deps): package_info_plus 8.0.2 --- lib/features/contest/screen/contest_screen.dart | 8 ++++---- .../search_filter/screen/search_filter_screen.dart | 8 ++++---- lib/features/setting/screen/setting_screen.dart | 4 ++-- pubspec.yaml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/features/contest/screen/contest_screen.dart b/lib/features/contest/screen/contest_screen.dart index 19c6d15..4782925 100644 --- a/lib/features/contest/screen/contest_screen.dart +++ b/lib/features/contest/screen/contest_screen.dart @@ -169,10 +169,10 @@ class _ContestViewState extends State { backgroundColor: state .isOnNotificationUpcomingContests[ index] - ? MaterialStateProperty.all( + ? WidgetStateProperty.all( MySolvedColor .secondaryButtonBackground) - : MaterialStateProperty.all( + : WidgetStateProperty.all( MySolvedColor.main), ), icon: Icon( @@ -197,10 +197,10 @@ class _ContestViewState extends State { backgroundColor: state .isOnCalendarUpcomingContests[ index] - ? MaterialStateProperty.all( + ? WidgetStateProperty.all( MySolvedColor .secondaryButtonBackground) - : MaterialStateProperty.all( + : WidgetStateProperty.all( MySolvedColor.main), ), icon: Icon( diff --git a/lib/features/search_filter/screen/search_filter_screen.dart b/lib/features/search_filter/screen/search_filter_screen.dart index 454297f..25d70e7 100644 --- a/lib/features/search_filter/screen/search_filter_screen.dart +++ b/lib/features/search_filter/screen/search_filter_screen.dart @@ -144,9 +144,9 @@ class _SearchFilterViewState extends State { inactiveThumbColor: MySolvedColor.background, inactiveTrackColor: MySolvedColor.disabledButtonBackground, - trackOutlineColor: MaterialStateProperty.resolveWith( + trackOutlineColor: WidgetStateProperty.resolveWith( (states) { - if (states.contains(MaterialState.selected)) { + if (states.contains(WidgetState.selected)) { return null; } return MySolvedColor.disabledButtonBackground; @@ -174,9 +174,9 @@ class _SearchFilterViewState extends State { inactiveThumbColor: MySolvedColor.background, inactiveTrackColor: MySolvedColor.disabledButtonBackground, - trackOutlineColor: MaterialStateProperty.resolveWith( + trackOutlineColor: WidgetStateProperty.resolveWith( (states) { - if (states.contains(MaterialState.selected)) { + if (states.contains(WidgetState.selected)) { return null; } return MySolvedColor.disabledButtonBackground; diff --git a/lib/features/setting/screen/setting_screen.dart b/lib/features/setting/screen/setting_screen.dart index 606f5ea..132edb8 100644 --- a/lib/features/setting/screen/setting_screen.dart +++ b/lib/features/setting/screen/setting_screen.dart @@ -95,9 +95,9 @@ class _SettingViewState extends State { inactiveThumbColor: MySolvedColor.background, inactiveTrackColor: MySolvedColor.disabledButtonBackground, - trackOutlineColor: MaterialStateProperty.resolveWith( + trackOutlineColor: WidgetStateProperty.resolveWith( (states) { - if (states.contains(MaterialState.selected)) { + if (states.contains(WidgetState.selected)) { return null; } return MySolvedColor.disabledButtonBackground; diff --git a/pubspec.yaml b/pubspec.yaml index 265db94..f77ae31 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -28,7 +28,7 @@ dependencies: http: ^1.1.0 intl: ^0.18.0 meta: ^1.9.1 - package_info_plus: ^8.0.3 + package_info_plus: ^8.0.2 permission_handler: ^11.3.1 pie_chart: ^5.4.0 provider: ^6.0.5