How do I dispose of a GetX controller?

Move Get. put from being a field of MainScreen to inside its build() method . The Controller can then be disposed when MainScreen is popped.

Sizin İçin Seçtik  How do I open the emulator in Visual Studio Flutter?

Leave a Reply

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