Issue I have a minor issue with the GetX package that I use for Flutter. When I do the default routing of flutter, CupertinoTabView works, but when I use GetX’s routing, CupertinoTabView doesn’t work such as This is my tab
Continue readingTag: flutter-getx
Flutter – My widgets keep getting rebuilt and making http request every time
Issue In my app I have an index screen with some bottom nav that can show or go to another screen on click using setState to change the _selectedIndex and the screen are in a list class IndexPage extends StatefulWidget
Continue readingFlutter Getx Providers get fired twice
Issue I’m using the Getx package to manage my app state, there is something wired happening, all the providers get initialized multiple times this is my initialization method Future<void> main() async { WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized(); FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding); SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]); ErrorWidget.builder
Continue readingHow to delete all Getx controllers at once?
Issue I have a Flutter project, and I want to delete all Getx‘s GetxController that I injected using: Get.put(/*…*/); Get.lazyPut(/*…*/); is this possible with Getx, and how? Solution Try the following code: Get.deleteAll(); Answered By – My Car Answer Checked
Continue readinghow initialize variable in GetX controller?
Issue hi I have Get x Controller with the late Map data and I want fill this in onInit after search on database, but when the page is open the emulator show the red screen with the not initialize error.
Continue readinggetX flutter package use default theme style instead of my custom theme
Issue Why when I switch page using Get(()=> Page2 of getX package, the app go back to default theme colors? I have a custom theme with yellow color, but then it goes back to the flutter blue default color. Am
Continue readingGetx Controller not fetching data
Issue So i have an implementation where i pass the id of a parent category and it fetches its child category from the database and displays them in another screen (view). When i click on the parent, it sends the
Continue readinghow to make Localization with Getx if there is parameter in the text
Issue if the text like this: Text( ‘Put something ${widget.profileA} might like’.tr, ), Here is the code for the translation example: class Language extends Translations { @override Map<String, Map<String, String>> get keys => { ‘en_US’: { ‘Put something ${widget.profileA} might
Continue readingFlutter GetX – How to manage controller deletion?
Issue 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 content. After
Continue readinghow to reload getx controller?
Issue hi I try using Getx Controller in flutter. I want my oninit of controller reload and set the new data each time user go two my certain page, but only the first time page reload oninint excute. how can
Continue reading