Flutter Getx Controllers Get Deleted | Solved

Channel:
Subscribers:
135,000
Published on ● Video Link: https://www.youtube.com/watch?v=qmmw6OEP0CU



Duration: 8:20
5,820 views
129


You will learn how to solve the problem of getx controllers getx deleted from memory.

In general when you load the dependencies, if you mark your controller as fenix:true, your controllers should not get deleted. See it like below

Get.lazyPut(() { return ProductController(productRepo: Get.find())}, fenix: true);

You can put here any controllers you want.Β 

But there are times getx controllers still get deleted. That happens if you use Get.offNamed(your_route) to go or navigate to a different screen.Β 

Instead of using Get.offNamed(), you may try to use Get.toNamed () or Get.to().

πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ“šπŸ“–πŸ“šπŸ“–πŸ“šπŸ“–πŸ“šπŸ“–πŸ“šπŸ“–Take the complete course on Udemey
https://www.udemy.com/course/master-flutter-by-building-a-video-and-voice-call-chat-app/?couponCode=83F83963631D0DB960E4 (it's with a coupon special discount)
πŸ“šπŸ“–πŸ“šπŸ“–πŸ“šπŸ“–πŸ‘†πŸ”Όβ«πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯

More about getx state management system
https://youtu.be/uki8BS7xEug

https://youtu.be/M0OwOYPFkrM

Read more articles about getx
https://www.dbestech.com/tutorials/flutter-getx-app-tutorial

Flutter food delivery app
https://www.dbestech.com/tutorials/flutter-food-delivery-app-e-commerce-for-ios-and-android




Other Videos By dbestech


2022-01-23How to Build a Shopping Cart | UI -- Product Controller -- Cart Controller -- Storage
2022-01-20Nested JSON & Maps | Build Models | Nested Models | Parsing Json | Flutter Dart
2022-01-19App Building Learn Architecture Load Dependency | Api Client | Repository | Controllers
2022-01-18Flutter CustomScrollView | SliverAppBar | SliverToBoxAdapter | All in One
2022-01-12Flutter Display Google Map | Generate API Keys | iOS and Android | Restrict Keys
2022-01-07Post Request With Postman | Bearer Token and Authorization | Sending Headers & Debugging | Json Data
2022-01-04Flutter Getx Nested Controllers and Nested Widgets With GetBuilder | State Management
2022-01-04Bottom Overflow When Keyboard Pops Up | Solved 2 ways | Flutter
2022-01-01Generate Token for Your Mobile App | Restful Api | Laravel 8 Passport | SharedPreference | Flutter
2021-12-31Row and Column Widget inside Scaffold | Learn about the layout
2021-12-27Flutter Getx Controllers Get Deleted | Solved
2021-12-26Flutter Pull to Refresh | RefreshIndicator | Refresh Data on Pull Down
2021-12-25Make Flutter Stack Positioned Scrollable
2021-12-25Flutter TextOverflow Ellipsis | Column & Expanded Widget
2021-12-17Flutter Getx State Management Tutorial | GetBuilder | Obx | Update | Dependency Injection | Routing
2021-12-14Tips for Making Responsive Mobile App or Web App
2021-12-10Flutter Expandable and Collapsible Text Widget | Dynamically Change Widget Size | Advanced
2021-12-09Scrollable Text inside Stack and Column | Positioned Widget
2021-12-07Flutter PageView.builder Advanced Animation | Height Transition and Scaling | Height Problem
2021-12-02Flutter Shadow | Apply Shadow Only One Side
2021-11-27Build Robust Laravel Admin Panel | CRUD | Thumbnail | Text Editor | Export | Filtering Operations



Tags:
flutter getx state management
flutter getx controller not found
flutter getx controller lifecycle
flutter getx fenix
flutter getx tutorial