fix swipe on patient details

This commit is contained in:
2024-11-08 10:49:52 +02:00
parent 6aa5c160cc
commit 50753bc6bb

View File

@@ -269,17 +269,14 @@ class _PatientDetailsState extends State<PatientDetails> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return SelectionArea( return Column(
child: SingleChildScrollView(
child: Column(
children: [ children: [
Row( Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
//crossAxisAlignment: , //crossAxisAlignment: ,
children: setIcons(), children: setIcons(),
), ),
Divider( Divider(color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
const SizedBox(height: 10), const SizedBox(height: 10),
getPatientDetailsField(), getPatientDetailsField(),
const SizedBox(height: 10), const SizedBox(height: 10),
@@ -292,13 +289,10 @@ class _PatientDetailsState extends State<PatientDetails> {
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(), color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
), ),
), ),
Divider( Divider(color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
const SizedBox(height: 10), const SizedBox(height: 10),
getMedAidDetailsFields(), getMedAidDetailsFields(),
], ],
),
),
); );
} }
} }