About 141,000 results
Open links in new tab
  1. Getting current destination from navigator controller

    Mar 1, 2025 · val currentScreen : Screen = screensByRoute[backStackEntry?.destination?.route] ?: WelcomeDestination Although, I'm still a bit surprised that there is no any method, something like …

  2. Flutter GetX - How to manage controller deletion?

    Nov 16, 2022 · I have a Flutter app with GetX Controllers. The app has 6 screens and every screen has its GetxController. Screens 1 and 2 are for the login system, while screens 3 to 6 are for the app …

  3. GetX Controller not disposing off automatically - Stack Overflow

    Sep 5, 2021 · On going back from MainScreen to LandingPage screen, the controller is not autodisposing as expected. I am using Flutter's Navigation only without wrapping with …

  4. Flutter GetX Get.back() or navigator.pop() deletes controller from ...

    Flutter GetX Get.back () or navigator.pop () deletes controller from memory and can not recreate it Asked 4 years, 9 months ago Modified 3 years, 2 months ago Viewed 67k times

  5. Flutter GETX: How to remove Initialized Controller every time we ...

    Apr 25, 2021 · 11 newbie here. How do I re-run onInit () every time I push back to my screen? onInit () runs only once but navigating back to a previous screen does not delete the controller which was …

  6. Flutter GetX pass data to another page - Stack Overflow

    Nov 6, 2021 · I have a second screen where I would like to display the data that I have captured from the text form field in the first screen. But first I want to print it to the terminal, from the Second Screen …

  7. Flutter: GetX - How navigate to different Views with same Controller ...

    Sep 1, 2021 · Only when I am in SecondScreen I cannot navigate to the same screen again filling it with different arguments ('B' or 'A') contained within the same controller class.

  8. dart - Flutter GetX Re-Initialise GetX Controller Reset GetX Controller ...

    Apr 21, 2022 · Get.to(()=>YourWidgetView()).then((value) => Get.delete<YourControllerName>()); So whenever the user will leave your Widget View will delete the respected controller. In this way when …

  9. How to call a function when returning to view/controller with `Get.back

    Jul 17, 2022 · 3 I would suggest you to use Get.offNamed () instead of Get.toNamed () as the offNamed () function will clear the data stored in catch and thus will again call the API declared in onInit () or …

  10. using getx get.arguments in flutter breaks when doing a hot-reload

    Sep 4, 2022 · Using GetX with Flutter, I pass data between parent controller/screen to its child controller/screen using Get.arguments. The issue is that when doing a hot-reload while working on a …