dispose method
Disposes all the TextEditingControllers used by the OTP input fields.
This method is called when the widget is permanently removed from the widget tree to release the resources held by the controllers and avoid memory leaks. It is important to call dispose on each controller here before calling super.dispose().
Implementation
@override
void dispose() {
for (TextEditingController controller in _controllers) {
controller.dispose();
}
super.dispose();
}