getx remove all previous routes code example Example: getx remove all previous routes Get.offAllNamed('/home');