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

Loading…
Cancel
Save