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, …

  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 …

  3. 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 …

  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. 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 …

  6. Flutter getx controller get the current page context

    Oct 15, 2021 · I would like to use context to show a custom dialog from cool alert in getxcontroller method. I have created the following controller class HomePageController extends …

  7. How to call a function when returning to view/controller with …

    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 …

  8. 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 …

  9. Flutter: GetX - How navigate to different Views with same …

    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.

  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 …