change layout to have waiting room on top
This commit is contained in:
@@ -164,7 +164,7 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
width: w,
|
width: w,
|
||||||
height: 600,
|
height: 600,
|
||||||
child: Column(mainAxisSize: MainAxisSize.max, children: [
|
child: Column(mainAxisSize: MainAxisSize.max, children: [
|
||||||
const SizedBox(height: 15),
|
//const SizedBox(height: 15),
|
||||||
const Text(
|
const Text(
|
||||||
"Patient Search",
|
"Patient Search",
|
||||||
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
||||||
@@ -293,7 +293,7 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
width: w,
|
width: w,
|
||||||
height: 600,
|
height: 600,
|
||||||
child: Column(mainAxisSize: MainAxisSize.max, children: [
|
child: Column(mainAxisSize: MainAxisSize.max, children: [
|
||||||
const SizedBox(height: 15),
|
//const SizedBox(height: 15),
|
||||||
const Text(
|
const Text(
|
||||||
"Waiting Room",
|
"Waiting Room",
|
||||||
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
||||||
@@ -421,7 +421,10 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
// color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
// color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
// ),
|
// ),
|
||||||
// ),
|
// ),
|
||||||
body: SizedBox(
|
body: SingleChildScrollView(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.symmetric(vertical: 10.0, horizontal: 15.0),
|
||||||
|
child: SizedBox(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
child: Wrap(
|
child: Wrap(
|
||||||
spacing: 10.0,
|
spacing: 10.0,
|
||||||
@@ -433,15 +436,17 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 660,
|
width: 660,
|
||||||
child: patientSearch(screenWidth, screenHeight),
|
child: patientQueue(screenWidth, screenHeight),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 660,
|
width: 660,
|
||||||
child: patientQueue(screenWidth, screenHeight),
|
child: patientSearch(screenWidth, screenHeight),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user