aboutsummaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/settings
diff options
context:
space:
mode:
authorJoel Winarske <joel.winarske@gmail.com>2024-09-05 14:01:44 -0700
committerJoel Winarske <joel.winarske@gmail.com>2024-09-05 15:59:53 -0700
commitd3ea8d7fa4518c258fca3c825ee895487fcaa8ec (patch)
tree36959a2f1f14d147fde981ba817e2020fa55e5e1 /lib/presentation/screens/settings
parent32d6271fc2430bedd7342475f0fe6e9eb21a9efe (diff)
Flutter SDK 3.24.1
-add flutter_calendar_carousel as local package, and update intl version -address most of the analyze issues; not including flutter_calendar_carousel -update all packages Change-Id: I5db9234726e8e2f8d07e1431e8dac2787c521c08 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Joel Winarske <joel.winarske@toyotaconnected.com> Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Diffstat (limited to 'lib/presentation/screens/settings')
-rw-r--r--lib/presentation/screens/settings/settings_screens/audio_settings/widget/slider_widgets.dart1
-rw-r--r--lib/presentation/screens/settings/settings_screens/units/units_screen.dart4
-rw-r--r--lib/presentation/screens/settings/widgets/settings_list_tile.dart6
3 files changed, 5 insertions, 6 deletions
diff --git a/lib/presentation/screens/settings/settings_screens/audio_settings/widget/slider_widgets.dart b/lib/presentation/screens/settings/settings_screens/audio_settings/widget/slider_widgets.dart
index 6988caa..c7db820 100644
--- a/lib/presentation/screens/settings/settings_screens/audio_settings/widget/slider_widgets.dart
+++ b/lib/presentation/screens/settings/settings_screens/audio_settings/widget/slider_widgets.dart
@@ -1,5 +1,4 @@
import 'package:flutter_ics_homescreen/export.dart';
-import 'package:flutter_ics_homescreen/presentation/custom_icons/custom_icons.dart';
class CustomBalanceSlider extends ConsumerStatefulWidget {
const CustomBalanceSlider({
diff --git a/lib/presentation/screens/settings/settings_screens/units/units_screen.dart b/lib/presentation/screens/settings/settings_screens/units/units_screen.dart
index fde7505..a49546f 100644
--- a/lib/presentation/screens/settings/settings_screens/units/units_screen.dart
+++ b/lib/presentation/screens/settings/settings_screens/units/units_screen.dart
@@ -80,14 +80,14 @@ class UnitsTile extends ConsumerStatefulWidget {
final VoidCallback voidCallback;
final String? image;
const UnitsTile({
- Key? key,
+ super.key,
this.icon,
required this.title,
required this.unitName,
required this.hasSwich,
required this.voidCallback,
this.image,
- }) : super(key: key);
+ });
@override
UnitsTileState createState() => UnitsTileState();
diff --git a/lib/presentation/screens/settings/widgets/settings_list_tile.dart b/lib/presentation/screens/settings/widgets/settings_list_tile.dart
index 4720001..02aa5f9 100644
--- a/lib/presentation/screens/settings/widgets/settings_list_tile.dart
+++ b/lib/presentation/screens/settings/widgets/settings_list_tile.dart
@@ -6,12 +6,12 @@ class SettingsTile extends ConsumerStatefulWidget {
final bool hasSwich;
final VoidCallback voidCallback;
const SettingsTile({
- Key? key,
+ super.key,
required this.icon,
required this.title,
required this.hasSwich,
required this.voidCallback,
- }) : super(key: key);
+ });
@override
SettingsTileState createState() => SettingsTileState();
@@ -110,7 +110,7 @@ class SettingsTileState extends ConsumerState<SettingsTile> {
inactiveTrackColor: Colors.transparent,
activeTrackColor: Colors.transparent,
thumbColor:
- MaterialStateProperty.all<Color>(
+ WidgetStateProperty.all<Color>(
AGLDemoColors.periwinkleColor)),
),
)