diff options
Diffstat (limited to 'lib/presentation/screens/settings')
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)), ), ) |