Questions tagged [flutter-get]

24 questions
0
votes
1 answer

Flutter animation controller using GetX

I recently switch to GetX and want to init animation controller in GetxController and can access it in GetView. When app started animation gets to go without any problem but can not forward it again. class SplashController extends GetxController…
0
votes
2 answers

Error when starting flutter application with Get

I have error when i try to run flutter app using Get: Running Gradle task 'assembleDebug'... ../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/root/get_cupertino_app.dart:252:17: Error: No named parameter with the…
Kek909
  • 21
  • 3
0
votes
2 answers

Flutter GetX controller getting null instead of data

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 null, instead of the returned value. the…
Slava Bugz
  • 318
  • 5
  • 17
0
votes
1 answer

Flutter GetX - binding within a binding

I have this binding for one of my views: class LoggedOutNicknameBinding extends Bindings { @override void dependencies() { Get.lazyPut( () => LoggedOutNicknameController(), ); } } But the above…
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287
0
votes
1 answer

How to update the ListView after a new object has been inserted into list?

I tried to use GetBuilder to update the state but is not working. The new object is visible in the list if I perform a hot reload, but the page is not populating with the new items. Should I reload the page or should I use reactive Observable? Also…
Cristian
  • 348
  • 2
  • 14
0
votes
1 answer

Flutter - Create a custom styled Container widget which "projects" child content

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. I have this in my view: child: Container( …
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287
0
votes
2 answers

Role Base Authorization in Flutter Web Using Firestore and GetX State Management (MVC Pattern)

I'm just going to develop an enterprise-level Flutter Web solution. So I've decided to follow a proper state management package instead of SetState. This is my first Flutter web application and the first time I tried to use GetX. I'm going to…
0
votes
1 answer

Changing theme using GetX

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( …
jakub
  • 3,576
  • 3
  • 29
  • 55
0
votes
1 answer

Flutter + Get, toNamed() returns RouteSettings() error

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 is the 'onTap'. When I use…
Justin
  • 2,502
  • 7
  • 42
  • 77
1
2