Move Get. put from being a field of MainScreen to inside its build() method . The Controller can then be disposed when MainScreen is popped.5 Eyl 2021
Read moreHow do I dispose of GetX?
Move Get. put from being a field of MainScreen to inside its build() method . The Controller can then be disposed when MainScreen is popped.5 Eyl 2021
Read moreDo I need to dispose TextEditingController?
Remember to dispose of the TextEditingController when it is no longer needed . This will ensure we discard any resources used by the object. This example creates a TextField with a TextEditingController whose change listener forces the entered text to be lower case and keeps the cursor at the end of the input.
Read moreHow do you use GetX in Flutter example?
Let’s get going with GetX state management
Read moreHow do you use OBX GetX in Flutter?
Let’s get going with GetX state management
Read moreWhat is Rx in GetX Flutter?
Rx is an observable , i.e. you watch it for changes using Obx or GetX widgets, (I guess you can call these two widgets “Observers”.)22 Ara 2020
Read moreHow do I remove controller from GetX Flutter?
While using the Get package in your Flutter project, sometimes you might need to remove Get Controller manually. In order to do so, you can simply call Get. delete function .
Read more