|
|
|
@ -14,7 +14,7 @@ class MyScheduleScreen extends StatelessWidget {
|
|
|
|
|
scheduleProvider = Provider.of(context);
|
|
|
|
|
return AppScaffold(
|
|
|
|
|
// pageOnly: false,
|
|
|
|
|
appBarTitle: 'My Schdule',
|
|
|
|
|
appBarTitle: 'My Schedule',
|
|
|
|
|
body: scheduleProvider.isLoading
|
|
|
|
|
? Center(
|
|
|
|
|
child: CircularProgressIndicator(),
|
|
|
|
@ -48,7 +48,7 @@ class MyScheduleScreen extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
Text('My Schedule',
|
|
|
|
|
style: textStyle(2.5, FontWeight.w700)),
|
|
|
|
|
scheduleListByDate('Today, 7 April '),
|
|
|
|
|
scheduleListByDate(),
|
|
|
|
|
// scheduleListByDate('Wednesday, 8 April '),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
@ -60,14 +60,13 @@ class MyScheduleScreen extends StatelessWidget {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Column scheduleListByDate(date) {
|
|
|
|
|
Column scheduleListByDate() {
|
|
|
|
|
return Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
// Text(date, style: textStyle(2.5)),
|
|
|
|
|
Container(
|
|
|
|
|
child: Column(
|
|
|
|
|
children: scheduleProvider.listDoctorWorkingHoursTable.map((item) {
|
|
|
|
|