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
committerScott Murray <scott.murray@konsulko.com>2024-09-09 15:37:22 +0000
commit0c24d7f6ebdb688d3aee492b5f84aa21e141f7e7 (patch)
treeae7dd19be2f0b482d8c58236822d7992888b0e71 /lib/presentation/screens/settings
parentcbc46db4690b89d2d5e983821d269931a358e508 (diff)
-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> (cherry picked from commit d3ea8d7fa4518c258fca3c825ee895487fcaa8ec)
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)),
),
)