added padding
This commit is contained in:
@@ -433,12 +433,12 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
Widget showSelection(int index, double screenWidth, double screenHeight) {
|
Widget showSelection(int index, double screenWidth, double screenHeight) {
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
width: 660,
|
//width: 660,
|
||||||
child: patientQueue(screenWidth, screenHeight),
|
child: patientQueue(screenWidth, screenHeight),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
width: 660,
|
//width: 660,
|
||||||
child: patientSearch(screenWidth, screenHeight),
|
child: patientSearch(screenWidth, screenHeight),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -489,10 +489,8 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
// color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
// color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||||
// ),
|
// ),
|
||||||
// ),
|
// ),
|
||||||
body: Padding(
|
body: Column(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 10.0, horizontal: 15.0),
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
child: Column(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
@@ -523,9 +521,11 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
showSelection(_selectedIndex, screenWidth, screenHeight),
|
Padding(
|
||||||
],
|
padding: EdgeInsets.symmetric(horizontal: 15),
|
||||||
|
child: showSelection(_selectedIndex, screenWidth, screenHeight),
|
||||||
),
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user