spacing added

development-3.3_voipCall
Sultan khan 2 years ago
parent 08c0c0abc1
commit aee83ce930

@ -125,7 +125,11 @@ class _DoctorSchedulePageState extends State<DoctorSchedulePage> {
});
},
itemBuilder: (context, index) {
return Container(
return model.getDoctorRotation[index]
.scheduleforuser.length ==0 ? Center(
child: ErrorMessage(
error: TranslationBase.of(context).noDataAvailable,
)) : Container(
child: ListView.builder(
itemCount: model.getDoctorRotation[index]
.scheduleforuser.length,
@ -302,7 +306,7 @@ class _DoctorSchedulePageState extends State<DoctorSchedulePage> {
index3) =>
Row(children: [
Text(model.getDoctorRotation[index].scheduleforuser[index2].shiftforuser[index3].fromtimetext.toString()),
Text(TranslationBase.of(context).to),
Text(" "+TranslationBase.of(context).to +" "),
Text(model.getDoctorRotation[index].scheduleforuser[index2].shiftforuser[index3].totimetext.toString())
])))
@ -386,7 +390,7 @@ class _DoctorSchedulePageState extends State<DoctorSchedulePage> {
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(fromDate),
Text(fromDate, style: TextStyle(fontSize: 14),),
Icon(Icons.calendar_month_outlined)
])
],
@ -410,7 +414,7 @@ class _DoctorSchedulePageState extends State<DoctorSchedulePage> {
padding:
EdgeInsets.only(top: 5, left: 12, right: 12, bottom: 5),
width: double.infinity,
height: 55,
height: 56,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12),
color: Colors.white,
@ -430,7 +434,7 @@ class _DoctorSchedulePageState extends State<DoctorSchedulePage> {
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(toDate),
Text(toDate, style: TextStyle(fontSize: 14),),
Icon(Icons.calendar_month_outlined)
])
],

Loading…
Cancel
Save