jonataslaw / jonataslaw/getx

nav2 Nested routing working is not expected

Open
#2,011 9 comments 0 reactions 1 assignee Claimed by @jonataslaw View on GitHub
Dominant language
Dart
Stars
11.2k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Please check this repo https://github.com/q876625596/getx_nav2_example

The HomeView and the SecondView are both child routes,

When I use Get.rootDelegate.toName (Routes.SECOND), This HomeView was destroyed, and the log is output:
[GETX] "HomeLogic" onDelete () called
[GETX] "HomeLogic" deleted from memory.

But I want HomeView not to be destroyed when I go from HomeView to SecondView,

please help me @ahmednfwela

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.