add padding to messages in appointment and patient manager
This commit is contained in:
parent
2a8c628941
commit
a61a5d2064
2 changed files with 49 additions and 32 deletions
|
|
@ -266,12 +266,15 @@ class _PatientAccessRequestState extends State<Appointments> {
|
||||||
mainAxisSize: MainAxisSize.max,
|
mainAxisSize: MainAxisSize.max,
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 35.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
"Work Inprogress!!!\nSelected Day: $selectedDay",
|
"Work Inprogress!!!\nSelected Day: $selectedDay",
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: const TextStyle(fontSize: 35),
|
style: const TextStyle(fontSize: 35),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
// const SizedBox(height: 10),
|
// const SizedBox(height: 10),
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,9 @@ class _PatientManagerState extends State<PatientManager> {
|
||||||
businessUser: widget.arguments.businessUser,
|
businessUser: widget.arguments.businessUser,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return Center(
|
return Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 35.0),
|
||||||
|
child: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
"No Appointments for $formattedDate",
|
"No Appointments for $formattedDate",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|
@ -87,6 +89,7 @@ class _PatientManagerState extends State<PatientManager> {
|
||||||
color: MzanziInnovationHub.of(context)!.theme.messageTextColor()),
|
color: MzanziInnovationHub.of(context)!.theme.messageTextColor()),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -202,24 +205,32 @@ class _PatientManagerState extends State<PatientManager> {
|
||||||
arguments: widget.arguments,
|
arguments: widget.arguments,
|
||||||
);
|
);
|
||||||
} else if (patientsList.isEmpty && searchString != "") {
|
} else if (patientsList.isEmpty && searchString != "") {
|
||||||
return Center(
|
return Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 35.0),
|
||||||
|
child: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
"No ID or Medical Aid No. matches a Patient",
|
"No ID or Medical Aid No. matches a Patient",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 25,
|
fontSize: 25,
|
||||||
color: MzanziInnovationHub.of(context)!.theme.messageTextColor()),
|
color:
|
||||||
|
MzanziInnovationHub.of(context)!.theme.messageTextColor()),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return Center(
|
return Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 35.0),
|
||||||
|
child: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
"Enter ID or Medical Aid No. of Patient",
|
"Enter ID or Medical Aid No. of Patient",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 25,
|
fontSize: 25,
|
||||||
color: MzanziInnovationHub.of(context)!.theme.messageTextColor()),
|
color:
|
||||||
|
MzanziInnovationHub.of(context)!.theme.messageTextColor()),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -351,7 +362,9 @@ class _PatientManagerState extends State<PatientManager> {
|
||||||
arguments: widget.arguments,
|
arguments: widget.arguments,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return Center(
|
return Padding(
|
||||||
|
padding: const EdgeInsets.only(top: 35.0),
|
||||||
|
child: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
"No Patients matching search",
|
"No Patients matching search",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|
@ -359,6 +372,7 @@ class _PatientManagerState extends State<PatientManager> {
|
||||||
color: MzanziInnovationHub.of(context)!.theme.messageTextColor()),
|
color: MzanziInnovationHub.of(context)!.theme.messageTextColor()),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue