Issue Here are what i am trying Page 1 – Ask to select a value. Page 2 select the value from the list. Once value is selected, navigate back to Page 1 the selected values should show in the page1.
Continue readingTag: flutter-get
Flutter + Get, toNamed() returns RouteSettings() error
Issue I am very new to Flutter so I apologize for not understanding all the terminology. I have an application that receives data from FCM, and it shows a SnackBar (using Get). All of this is working well. The problem
Continue readingChanging theme using GetX
Issue I want to change the theme to redTheme only when I’m on a specific route. For that purpose, I’ve used routingCallback like class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return GetMaterialApp( title: ‘App’, theme: defaultTheme(context), initialRoute:
Continue readingFlutter – Create a custom styled Container widget which "projects" child content
Issue I want to create a custom container widget that always has a gradient background. The reason is to only code the gradient in one place, so it can be changed in one place and yet affect the whole app.
Continue readingAre obs stream being closed automatically by GetxControllers?
Issue I am using the following package https://pub.dev/packages/get. Do I need to close my .obs in the onClose of a GetxController? I can’t find anything about this in the docs. And looking at my memory it appears that the are
Continue readingflutter get when to use GetX<Controller>, GetBuilder<Controller> or Obx()
Issue As the title reads, there are a couple of ways to update state. When should I choose one over another? Solution There’s no hard rules about this, but here’s how I try to decide: Obx when my controller is
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 readingIs there any way to iterate over future<list> in flutter
Issue I would like to iterate over the the Future<list> but get errors if I try using for loops or if I try setting it as List. Is there any other way of looping over each element in the list:
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 readingHow to build a TabView using Flutter GetX
Issue I’m trying to build a app using Flutter with GetX for State Management, and in one of my pages i need to build a TabView widget in the middle of the page, i already found a lot of stuff
Continue reading