How to remove all previous routes - Flutter GetX
I have a simple Flutter app and I want to remove all previous routes but I
want to do with GetX, How to do that?
Isue
Now it works with
Navigator.of(context).pushNamedAndRemoveUntil('/home', (Route route) => false);
Solution
Get.offAll(()=> Home());
Get.offAllNamed(()=>'/home');
Post a Comment for "How to remove all previous routes - Flutter GetX"