Clear all controlls when closing perscription pop up

This commit is contained in:
2024-07-05 16:34:32 +02:00
parent 3a509dd721
commit 6176aed650

View File

@@ -358,6 +358,12 @@ class _PatientFilesState extends State<PatientFiles> {
height: 50,
child: IconButton(
onPressed: () {
medicineController.clear();
quantityController.clear();
dosageController.clear();
timesDailyController.clear();
noDaysController.clear();
noRepeatsController.clear();
Navigator.pop(context);
},
icon: const Icon(