@@ -3,6 +3,9 @@ import 'package:stacked/stacked.dart';
33import 'package:flutter_gen/gen_l10n/app_localizations.dart' ;
44import 'package:table_calendar/table_calendar.dart' ;
55
6+ // UTILS
7+ import 'package:notredame/core/utils/utils.dart' ;
8+
69// VIEWMODELS
710import 'package:notredame/core/viewmodels/schedule_settings_viewmodel.dart' ;
811
@@ -29,22 +32,45 @@ class _ScheduleSettingsState extends State<ScheduleSettings> {
2932 child: Column (
3033 children: [
3134 if (widget.showHandle)
32- Center (
33- child: Padding (
34- padding: const EdgeInsets .only (top: 8.0 ),
35- child: Container (
36- height: 5 ,
37- width: 50 ,
38- decoration: const BoxDecoration (
39- color: Colors .grey,
40- borderRadius: BorderRadius .all (Radius .circular (8.0 ))),
35+ Container (
36+ decoration: BoxDecoration (
37+ color: Utils .getColorByBrightness (
38+ context,
39+ AppTheme .lightThemeBackground,
40+ AppTheme .darkThemeBackground),
41+ borderRadius: const BorderRadius .only (
42+ topLeft: Radius .circular (40.0 ),
43+ topRight: Radius .circular (40.0 ),
44+ )),
45+ child: Center (
46+ child: Padding (
47+ padding: const EdgeInsets .only (top: 8.0 ),
48+ child: Container (
49+ height: 5 ,
50+ width: 50 ,
51+ decoration: const BoxDecoration (
52+ color: Colors .grey,
53+ borderRadius:
54+ BorderRadius .all (Radius .circular (8.0 ))),
55+ ),
4156 ),
4257 ),
4358 ),
44- Padding (
45- padding: const EdgeInsets .fromLTRB (15 , 20 , 20 , 20 ),
46- child: Text (AppIntl .of (context).schedule_settings_title,
47- style: Theme .of (context).textTheme.headline6)),
59+ Container (
60+ width: MediaQuery .of (context).size.width,
61+ decoration: BoxDecoration (
62+ color: Utils .getColorByBrightness (
63+ context,
64+ AppTheme .lightThemeBackground,
65+ AppTheme .darkThemeBackground),
66+ ),
67+ child: Center (
68+ child: Padding (
69+ padding: const EdgeInsets .fromLTRB (15 , 20 , 20 , 20 ),
70+ child: Text (AppIntl .of (context).schedule_settings_title,
71+ style: Theme .of (context).textTheme.headline6)),
72+ ),
73+ ),
4874 Expanded (
4975 child: ListTileTheme (
5076 selectedColor: Theme .of (context).textTheme.bodyText1.color,
0 commit comments