add dispose to files to remove controllers when not used
This commit is contained in:
parent
fdc7e1dda3
commit
2ef8eb2b3c
45 changed files with 374 additions and 53 deletions
|
|
@ -52,6 +52,12 @@ class _MedicineSearchState extends State<MedicineSearch> {
|
|||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
// TODO: implement dispose
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
futueMeds = getMedList(endpointMeds + widget.searchVlaue.text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue