getx
getx copied to clipboard
Why GetX 5 with nested navigation will remove previous route and delete its controller
When I go from /main/groupInfo to /main/groupInfo/chatInfo, the /main/groupInfo route will be removed and then "GroupInfoController" onDelete() called.
I think maybe there is something wrong
And then this will make another error:
Form /main/chatInfo to /main/chatInfo/sharedGroups, REMOVING ROUTE /main/chatInfo, and then Instance "ChatInfoController" has been created, but now Get.parameters has been changed for SharedGroupsPage and doesn't have ['cid'], so the error appeared:
How to solve it, it's strange to switch routes like this.