Issue I am building a flutter application and I want to use a stateful widget in my project and want to use the getx library for state management. I was wondering if there is going to be any performance Solution
Continue readingTag: flutter-getx
Does using the getx with a stateful widget in flutter cause any performance issues?
Issue I am building a flutter application and I want to use a stateful widget in my project and want to use the getx library for state management. I was wondering if there is going to be any performance Solution
Continue readingFlutter GetX pass data to another page
Issue I have a flutter app whereby I capture data using a textformfield in a screen. I have a second screen where I would like to display the data that I have captured from the text form field in the
Continue readingFlutter passing boolean argument in getx route
Issue I have two getx controllers 1 register and 2 home. I need to pass a boolean argument to home to notify if the user is registering first time. on registration controller // here’s how iam trying to pass an
Continue readingAutocomplete search with flutter_google_places doesn't work?
Issue I’m developing my first more complex project, similar to the Uber app idea. I follow the instructions in this question autocomplete with flutter But when i try to search for addresses, nothing appears I’m using GetX for state management
Continue readingThe argument type 'String?' can't be assigned to the parameter type 'String' because 'String?' is nullable and 'String' isn't in Text widget
Issue I am trying to display the name and email of the person when he logs in to the profile screen using Getx Column( children: [ Text( controller.userModel!.name, style: TextStyle( fontSize: 20, fontWeight: FontWeight.w600, color: Kprimarycolor, ), ), Text( controller.userModel!.email,
Continue readingFlutter GetX controller getting null instead of data
Issue I have an API (which does work and returns a response, and I even can see the response 1 line above the return statement), but for some reason, when the data should be passed to the variable, I receive
Continue readingFlutter Getx – "Xxx" not found. You need to call "Get.put(Xxx())" – But i have called Get.put(Xxx())
Issue I have this global bindings class to initialise some services and I need it to be initialised straight away: import ‘package:get/get.dart’; import ‘package:vepo/data/data_provider/local_data_provider.dart’; import ‘package:vepo/data/data_source/local_data_source.dart’; import ‘services/authentication_service.dart’; class GlobalBindings extends Bindings { final LocalDataProvider _localDataProvider = LocalDataProvider(); @override void
Continue readingThe getter 'length' isn't defined for the type 'Future<List<Item>>'
Issue I’m writing a kind of todo list in Flutter, with null safety enabled. I’m storing the list of todo on a sqlite db using sqflite. The Item class is the following: class Item { int? _id; String? _name; String?
Continue readingSliverList and Getx StateMixin support
Issue I’m struggling trying to make a GetxController work with a SliverList. In particular, my controller returns the view state with StateMixin from Getx library. class ItinerariesByCreatorPageController extends GetxController with StateMixin<Pair<Creator, List<Itinerary>>> { ItinerariesByCreatorPageController(this._interactor); final ItinerariesInteractor _interactor; void getCreatorPage(String creatorSlug,
Continue reading