Open saminBee opened 2 years ago
after get.back you need to re-read it
use await keyword on your navigate code statement. and listen to get.back with payload. and decide to rebuild widget tree or not.
bool? isNeedReBuild = await Get.to(()=>XScreen()); if(isNeedRebuild){ // fetch your data from storage and setstate the widget tree }
Get.Back(result:true);
Get.back() does not change the data. It stores data while I write in GetStorage but only Get.to()/ Get.named() these changes the data of Get.Storage(). While try to Get.back() it is not changing the data. Is there any solution for this?