Relative Content

Tag Archive for flutterdartstateproviderstate-management

Why is dispose method not being called?

I was trying to use provider for managing the state of TextField Controller and below is the code for the provider I’m using. I want to know why is dispose called! not being printed out to the console when I leave forgot password page. I tested dispose method of stateful widget and it works fine as expected.