Comments (3)
you need create controller for every page, C , B and D controller will destroyed if you leave the page, and if you back to page B, controller B will be init again.
use final c = Get.put(BController) below Widget build
from getx.
@allasca The page I generated using get_cli does a lazyPut of the controller in the binding fileγ
Get.offNamedUntil("B", (route) => route.settings.name == "A");
but the page B controller is not properly destroyed and created again
from getx.
@quentin996007 get.offamed will destroyed the last page and remove it from stack, and you cant go back. Try use get.tonamed. sorry I ma not using get_cli anymore, little forgot about it
from getx.
Related Issues (20)
- Bug Hiding all children when using Stack() with Visibility() or IF (visibility) for a child HOT 4
- Call for Funding | Future for Production Usage HOT 8
- Troubleshooting Persistent Bottom Navigation Bar Issues with GetX in Flutter HOT 1
- Beware, on Flutter 3.24, the `onPopPage` is deprecated. HOT 5
- Compatibility Issue Between GetX 5.0.0-release-candidate-6 and share_plus 10.0.1 HOT 1
- Feature Request: Major Updates and Documentation Enhancement for GetX
- GetX 5 web refresh blank screen HOT 1
- GetX 5 `GetMiddleware` almost all functions like `onPageBuilt` run twice HOT 5
- Kindly support location_web web
- Getx will be release ? HOT 5
- Exception: GetRoot is not part of the three γget: ^5.0.0-release-candidate-8γ HOT 3
- Why GetX 5 removed `offAllNamed` `predicate` HOT 6
- firebase_messaging_web issues : et >=5.0.0-release-candidate-8 depends on web ^1.0.0, get >=5.0.0-release-candidate-8 is incompatible with firebase_messaging_web ^3.8.12. HOT 4
- Getx Middleware is not properly working in getx-5 update HOT 1
- Get.until not working properly on getx 5 candidate 8 HOT 2
- GetX 5: Could you please add `canPop` argument for `Get.defaultDialog`'s `onWillPop` to prevent go back with gesture or back button? HOT 2
- Expanding the Back Gesture Area for Transition.cupertino HOT 6
- Variable Data in trouble HOT 1
- When the application has two levels of IndexedRouteBuilder, it does not work properly , The problem I'm having with nested routes.
- Why GetX 5 with nested navigation will remove previous route and delete its controller HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getx.