I have no of TextEditingController a, TextEditingController b.......z
1) How to short cut way dispose all TextEditingController
@override
void dispose() {
// _nameCtrl.dispose();
a.dispose();
b.dispose();
.....
....
z.dispose();
super.dispose();
}
- if don't dispose the TextEditingControll var , will it caused problem ?
thanks Wing
try to simplify and shorten codee