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
|
|
@ -81,6 +81,12 @@ class _MIHDateFieldState extends State<MIHDateField> {
|
|||
return null;
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_focus.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
_focus.addListener(_onFocusChange);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue