Skip to content
Flutter Fixes

Flutter Fixes

Find 100% working, tested solutions for Flutter and Dart related issues. Daily Updated!

  • All Questions
  • Flutter
  • Dart
  • Flutter Web
  • Bloc
  • Animation
  • Flutter Desktop
  • Flutter IOS
  • Flutter Packages

Tag: flutter-getx

December 12, 2022 Flutter

Dispose the controller when navigating to same page

Issue I’ve got a search-field in the appbar of my application. It’s available on every page of the app. When something is selected in the seach-field, it routes to a named page that loads and displays details about the entity.

Continue reading
December 12, 2022 Flutter

How to work with GetX Observable Variables?

Issue I have a simple timer app whose UI includes this code snippet: body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Container( width: 120, height: 120, child: Obx( () => CircularProgressIndicator( value: <== This is what I’m asking about, ),

Continue reading
December 12, 2022 Flutter

How to change the value of 'selectedIndex' from one dart file to the other dart file using flutter GetX?

Issue I have my custom Bottom Navigation Bar in one dart file, i.e. bottomnavbar.dart. And I have list of multiple screens(or pages) in my home.dart file. I am using an .obs variable to store my selected index value. code from

Continue reading
December 12, 2022 Flutter

How can I make dropdownbutton using Getx in flutter?

Issue I’m trying to make dropdownbutton using Getx in flutter However, it doesn’t work. Even if I choose a value, the value does not been selected. class BecomePlayerPage2 extends GetView<BecomePlayerController> { const BecomePlayerPage2 ({Key? key}) : super(key: key); @override Widget

Continue reading
December 12, 2022 Flutter

Getx oninit dont replace values – Geolocator

Issue I was testing a code on my Android device but in the replacement part of the code in the terminal it prints the previous values and not the values changed in the getPosition(). CODE WITH GEOLOCATOR import ‘package:geolocator/geolocator.dart’; import

Continue reading
December 12, 2022 Flutter

How to use GetxController inside my view without removing the const keyword on the constructor

Issue using Getx, when I have a GetxController and I want to use it inside my view UI, it required removing const on the widget constructor : Controller : class TestController extends GetxController { // … } View : class

Continue reading
December 12, 2022 Flutter

Flutter app UI disappears after restarting once in apk release

Issue After downloading the app through the apk release, in the first time, it works normally. But once you close the app and open it again, the ui elements disappears. It has a very strange behavior, if I restart the

Continue reading
December 12, 2022 Flutter

Flutter Getx argument is never reset

Issue I am working with flutter and trying to use Getx package for passing arguments between components and my problem is that the arguments are never put to null after use. As the component i am navigating to’s view depend

Continue reading
December 12, 2022 Flutter

Call api after bage build in getx

Issue Im using getx and i want to call api after bage build, because this api its not necessary part of the page build.. What i know is this way @override void initState(){ super.initState(); WidgetsBinding.instance.addPostFrameCallback((_){ }); } But what about

Continue reading
December 12, 2022 Flutter

How to localise CupertinoDatePicker in flutter and getxcontroller

Issue During my search I found some regular solution when no GetXcontroller included, like this https://stackoverflow.com/a/53752290/19815795 Taking above as inspiration, I created some code for my GetMaterialApp: GetMaterialApp( theme: AppTheme(), translations: Language(), locale: getCurrentLocale(), fallbackLocale: Locale(‘en’, ‘US’), supportedLocales: [ //

Continue reading

Posts navigation

1 2 3 … 77 Next Posts»

android android-fragments android-jetpack android-jetpack-compose android-layout android-recyclerview android-studio angular angular-dart api bloc dart dart-async dart-null-safety dart-polymer dart-pub dart-webui firebase firebase-authentication firebase-realtime-database flutter flutter-animation flutter-bloc flutter-dependencies flutter-getx flutter-layout flutter-listview flutter-navigation flutter-packages flutter-provider flutter-test flutter-web flutter-widget google-cloud-firestore gradle ios java javascript json kotlin list listview mobile react-native xml

WordPress Theme: Maxwell by ThemeZee.

Privacy Policy - Terms and Conditions