Open TBoyLi opened 3 years ago
I think, the problem is:void onInit() async ...
. I don't see any await onInit() within Getx. So, GetView.build() is called before GetxController.onInit() is complete.
Did you get any solution for this bug ??
Hola alguien quiere ser mi patrocinador
Describe the bug TabBarView children use the same View with AutomaticKeepAliveClientMixin, TabBarView when trying to switch, the Controller will not initialized again, Controller sets the tag to be reinitialized. At this point, the TabBarView switches and tries, the Controller data changes, but the View data doesn't change.
Reproduction code NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY)
example:
To Reproduce Steps to reproduce the behavior:
Expected behavior TabView toggle is the update of data to the View.
Screenshots
Flutter Version:
Getx Version:
Describe on which device you found the bug: iPhone 12 Pro Max (mobile)