Issue I’m missing something fundamental with GetX and Firebase streams. The UI with the ListView doesn’t get updated until a change occur in the UI (setState or somthing). I got a TodoController with a RxList bound to a Firebase stream
Continue readingCategory: Flutter
Flutter : GetX Variable initialise problem in Profile Data
Issue I am using GetX statemangement on my flutter app. I want to fetch User’s Profile data from server. That’s Why I create a Profile Model Class and a Controller Screen. But I can’t. Here is a problem to initialisation.
Continue readingTimer is never cancelled when GetxController is deleted in flutter
Issue Let’s say I have two screens (Screen A & Screen B). I navigate from Screen A to B using the following method: Get.toNamed(‘/screen_b’); I have a timer in screen b that calls a function or prints a statement. The
Continue readingFlutter-GetX Error: The parameter 'index' can't have a value of 'null' because of its type, but the implicit default value is 'null'
Issue 1 I am very new to Dart, and coding in general. I have produced this code after watching tutorials on YouTube. For the most part, I have been able to troubleshoot most of my problems on my own, yet
Continue readingFlutter Getx: Can obs create a global variable?
Issue How to make obs a global variable? Have an option of Getx that can create a global variable? For the example: class Test extends GetxController { RxString a = "".obs; } Page 1: Test test = Get.put(Test()); print(test.a.value); //""
Continue readingHow to update the ui when my list gets filled with data GetX Flutter
Issue Im trying to show a listView.builder inside a AlertDialog, and Im filling the its list by calling a function everytime the button to open the AlertDialog is pressed but the problem is that the ui doesn’t update when the
Continue readingIn a flutter project that uses GetX, which navigation code is better a widget or a controller?
Issue I’m making a flutter app using GetX. I want to know where to write the navigation function of GetX, between widgets and controllers. ex) GetX.toNamed(), GetX.back() If the widget has to handle it, how do you deliver an event
Continue readingFlutter, how to update reactive list declared in first screen controller from the second screen?
Issue I am using GetX in my project. Lets suppose I have two screens. Each screen have a button. The controller of first screen have observable list of objects. When a button in first screen is pressed, one of the
Continue readingIs there any workaround for using keepalive mixin alongside the GetX package?
Issue I created a slider-based stepper form using TabBarView which validate the input before switching. It works, but when I go back, the state was reset. This behavior leads me to an empty form when I try to collect the
Continue readingflutter type 'Rx<DateTime>' is not a subtype of type 'DateTime' in type cast
Issue I want to use a DateTime variable in getx and use selectedDate in otherPage as variable in Condition my Controller code : class HomeController extends GetxController { RxBool getMyPerm = false.obs; Rx<DateTime> selectedDate = DateTime.now().obs; @override void onInit() {
Continue reading