Clear all controlls when closing perscription pop up
This commit is contained in:
parent
3a509dd721
commit
6176aed650
1 changed files with 6 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue