Get.until((value) {
Get.log(
'run until : ${Get.currentRoute} == /example (${Get.currentRoute == '/example'})',
);
return Get.currentRoute == '/example';
});
i try to use Get.until when I trigger by a onclick button, but nothing happened.
When i use Get.offAllNamed(myroute); , its not closing my controller , and print like this
[Refreshed] GetInformationParser: route location: /home?tab=1
[Refreshed] GOING TO ROUTE /myroute
Get.until((value) { Get.log( 'run until : ${Get.currentRoute} == /example (${Get.currentRoute == '/example'})', ); return Get.currentRoute == '/example'; }); i try to use Get.until when I trigger by a onclick button, but nothing happened.
When i use Get.offAllNamed(myroute); , its not closing my controller , and print like this [Refreshed] GetInformationParser: route location: /home?tab=1 [Refreshed] GOING TO ROUTE /myroute