Update API to update patient. Update mytextfield to table is editable paramiter. add edit page to edit user information.

This commit is contained in:
2024-06-20 10:07:52 +02:00
parent deda00c955
commit 5a3f62c1ff
19 changed files with 375 additions and 26 deletions

View File

@@ -30,13 +30,27 @@ class _PatientDetailsState extends State<PatientDetails> {
child: SelectionArea(
child: Column(
children: [
const Text(
"Patient Details",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 35,
fontWeight: FontWeight.bold,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text(
"Patient Details",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 35,
fontWeight: FontWeight.bold,
),
),
IconButton(
icon: const Icon(Icons.edit),
alignment: Alignment.topRight,
onPressed: () {
Navigator.of(context).pushNamed(
'/patient-manager/patient/edit',
arguments: widget.selectedPatient);
},
)
],
),
const Divider(),
const SizedBox(height: 10),