AppUser object created. Add patient page with API call added nd completed

This commit is contained in:
2024-06-19 13:35:50 +02:00
parent a478324698
commit deda00c955
17 changed files with 324 additions and 57 deletions

View File

@@ -17,25 +17,27 @@ class _PatientViewState extends State<PatientView> {
Widget build(BuildContext context) {
return Scaffold(
appBar: const MyAppBar(barTitle: "Patient View"),
body: Padding(
padding: const EdgeInsets.symmetric(vertical: 10.0, horizontal: 15.0),
child: Column(
children: [
PatientDetails(selectedPatient: widget.selectedPatient),
const SizedBox(
height: 10.0,
),
Row(
children: [
PatientNotes(
patientIndex: widget.selectedPatient.idpatients,
),
PatientNotes(
patientIndex: widget.selectedPatient.idpatients,
)
],
)
],
body: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 10.0, horizontal: 15.0),
child: Column(
children: [
PatientDetails(selectedPatient: widget.selectedPatient),
const SizedBox(
height: 10.0,
),
Row(
children: [
PatientNotes(
patientIndex: widget.selectedPatient.idpatients,
),
PatientNotes(
patientIndex: widget.selectedPatient.idpatients,
)
],
)
],
),
),
),
);