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

@@ -53,14 +53,21 @@ class _PatientManagerState extends State<PatientManager> {
//floatingActionButtonLocation: FloatingActionButtonLocation.endTop,
floatingActionButton: FloatingActionButton.extended(
label: const Text(
"Create",
"Add Patient",
style: TextStyle(
fontWeight: FontWeight.bold,
color: Colors.white,
),
),
backgroundColor: Colors.blueAccent,
onPressed: () {},
icon: const Icon(Icons.add),
onPressed: () {
Navigator.of(context)
.pushNamed('/patient-manager/add', arguments: widget.userEmail);
},
icon: const Icon(
Icons.add,
color: Colors.white,
),
),
body: FutureBuilder(
future: futurePatients,