How do I get rid of ChangeNotifierProvider?

You need to use the dispose() method of State or the default constructor of ChangeNotifierProvider . The latter automatically disposes of the object created in the create function.

Sizin İçin Seçtik  React Native mi flutter mı?

Leave a Reply

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