patient manager change position of refresh button
This commit is contained in:
@@ -230,9 +230,23 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
Widget patientQueue() {
|
Widget patientQueue() {
|
||||||
return Column(mainAxisSize: MainAxisSize.max, children: [
|
return Column(mainAxisSize: MainAxisSize.max, children: [
|
||||||
//const SizedBox(height: 15),
|
//const SizedBox(height: 15),
|
||||||
const Text(
|
Row(
|
||||||
"Waiting Room",
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
children: [
|
||||||
|
const Text(
|
||||||
|
"Waiting Room",
|
||||||
|
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
||||||
|
),
|
||||||
|
IconButton(
|
||||||
|
onPressed: () {
|
||||||
|
refreshQueue();
|
||||||
|
},
|
||||||
|
icon: const Icon(
|
||||||
|
Icons.refresh,
|
||||||
|
size: 25,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
Divider(color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
|
Divider(color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
@@ -364,15 +378,6 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
size: 35,
|
size: 35,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
IconButton(
|
|
||||||
onPressed: () {
|
|
||||||
refreshQueue();
|
|
||||||
},
|
|
||||||
icon: const Icon(
|
|
||||||
Icons.refresh,
|
|
||||||
size: 35,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -407,8 +412,6 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final screenWidth = MediaQuery.of(context).size.width;
|
|
||||||
final screenHeight = MediaQuery.of(context).size.height;
|
|
||||||
return MIHLayoutBuilder(
|
return MIHLayoutBuilder(
|
||||||
actionButton: getActionButton(),
|
actionButton: getActionButton(),
|
||||||
header: getHeader(),
|
header: getHeader(),
|
||||||
|
|||||||
Reference in New Issue
Block a user