Should I dispose TextEditingController flutter?

Second, remember to dispose of the TextEditingController inside dispose() when it is no longer needed . This will ensure we discard any resources used by the object. There is no need to dispose of it while in use. Remember: the controller is not there to notify listeners of the changes inside the text input field.

Sizin İçin Seçtik  How do you make a signup page on flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *