add scrolling

This commit is contained in:
2025-03-11 11:06:01 +02:00
parent 02dc125b0a
commit 21b6154239

View File

@@ -127,7 +127,8 @@ class _MihAccessRequestState extends State<MihAccessRequest> {
} }
Widget getBody() { Widget getBody() {
return Column( return SingleChildScrollView(
child: Column(
children: [ children: [
const Text( const Text(
"Access List", "Access List",
@@ -208,8 +209,9 @@ class _MihAccessRequestState extends State<MihAccessRequest> {
"$errorCode: Error pulling Patients Data\n$baseUrl/queue/patients/\n$errorBody", "$errorCode: Error pulling Patients Data\n$baseUrl/queue/patients/\n$errorBody",
style: TextStyle( style: TextStyle(
fontSize: 25, fontSize: 25,
color: color: MzanziInnovationHub.of(context)!
MzanziInnovationHub.of(context)!.theme.errorColor()), .theme
.errorColor()),
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
); );
@@ -217,6 +219,7 @@ class _MihAccessRequestState extends State<MihAccessRequest> {
}, },
), ),
], ],
),
); );
} }