update loading screen title & add notes list to patient view screen

This commit is contained in:
2024-04-13 14:06:52 +02:00
parent 7028d63b2a
commit 16fcd2783f
7 changed files with 181 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:patient_manager/components/PatientDetails.dart';
import 'package:patient_manager/components/myAppBar.dart';
import 'package:patient_manager/components/patientNotes.dart';
import 'package:patient_manager/objects/patients.dart';
class PatientView extends StatefulWidget {
@@ -21,12 +22,22 @@ class _PatientViewState extends State<PatientView> {
child: Column(
children: [
PatientDetails(selectedPatient: widget.selectedPatient),
const SizedBox(
height: 10.0,
),
Row(
children: [
PatientNotes(
patientIndex: widget.selectedPatient.idpatients,
),
PatientNotes(
patientIndex: widget.selectedPatient.idpatients,
)
],
)
],
),
),
);
// Center(
// child: Text(widget.selectedPatient.first_name),
// ),
}
}