flutter-getx Questions

2

I am trying to make a put request to update a user profile with GetConnect. The user profile takes some normal JSON fields and a MultipartFile for the profile picture. Here's my ProfileProvider cla...
Faddish asked 9/3, 2021 at 13:49

3

Solved

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. Af...
Pleistocene asked 16/11, 2022 at 11:25

2

How can I get a return value from a Get.Dialog that opens a Dialog Widget / AlertDialog?
Zig asked 27/11, 2020 at 2:30

7

Solved

I am learning Flutter GetX to my own and stuck on a point. Actually I want to know why onInit method of GetX Controlled is not calling whenever I revisit that page/dialog again. Suppose that I have...
Choong asked 21/4, 2022 at 10:29

3

Solved

How can we handle deep links in flutter with Get X for go to Custom pages of the application ? By default, by adding the desired address to the Android Manifest file: <meta-data android:name=&q...
Postfree asked 30/8, 2021 at 12:19

9

Solved

I am developing an app that has a bottomnavitaionbar with five pages. I use getx. In first page, i am listing data. My problem is that, when i changed data(first page in bottomnavigationbar) manual...
Damalis asked 8/2, 2021 at 10:34

5

Solved

I am new to GetX and am trying to learn how to use it. I have read different tutorials that inject the controller outside of the widget's build method, and others that put it inside it. class MyWid...
Kamseen asked 27/8, 2022 at 6:44

3

Solved

I am using GetX with my flutter project. In home page when user taps a product, it is navigated to ProductDetails like this Get.to(() => const PropductDetails(), arguments: [ {"Details&quo...
Release asked 5/10, 2022 at 16:17

1

here Im using Receive_share_intent package to receive data from other apps it works perfetctly on android but in IOS when i share in IOS it Opens the app but no data has been passed it doesn't trig...
Verine asked 8/4, 2023 at 10:53

3

I'm using flutter and GetX, so i'm implementing Obx inside my code. I have 3 files: questionnaire.dart questionnnaire_controller.dart popup.dart Inside the popup.dart I have the layout of the popup...
Fissile asked 8/2, 2021 at 11:4

2

Solved

what is the best approach to managing app lifecycle state? would you do it using a getxservice with WidgetsBindingObserver? thanks in advance.
Nigrescent asked 10/11, 2021 at 3:27

7

Solved

Upon now I always use getx observable declarations like this: var someString = ''.obs; var someNumber = 0.obs; and so on... But what if some variables don't have an initial value at first, and I a...
Metaphysic asked 25/6, 2021 at 5:17

5

I want to Pass multiple data from one screen to another screen with Get package. Get.to(Second(), arguments: ["First data", "Second data"]);
Centreboard asked 19/11, 2020 at 6:43

4

Flutter Default Localizations isn't work when I use GetX Statemanagement. It show me a error like Undefined name 'AppLocalizations'. Try correcting the name to one that is defined, or defining the ...

5

I would like to use context to show a custom dialog from cool alert in getxcontroller method. I have created the following controller class HomePageController extends GetxController { @override ...
Drub asked 15/10, 2021 at 4:28

7

Solved

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_provid...
Labrum asked 15/11, 2020 at 0:41

2

Solved

I have the following code: Get.put(DbController(HabitDao(AppDb()))); When I hot reload my app, I get the following error: "WARNING (moor): It looks like you've created the database class AppD...
Shuman asked 13/7, 2021 at 12:2

5

I have following GetX controller to pass parameters to page in Flutter: UPDATED class HomeController extends GetxController { File image; String ocr_text; onInit(){ super.onInit(); image = ...
Constructivism asked 8/4, 2021 at 19:28

2

Solved

I'm using GetX for my project. I have a little warning with RxList in GetX. How do I fix this warning? This is my code: var questionListItems = RxList<QuestionLookupResponse>(); // .... Futu...
Karli asked 4/10, 2021 at 10:55

7

I have a minimlaist sample app running on Android with GetX as State Management lib only. There are two screens LandingPage and MainScreen. On going back from MainScreen to LandingPage screen, the ...
Pointsman asked 5/9, 2021 at 10:47

7

I am using getx as my statemanagment for my flutter app. But I am having difficulties by updating the values in a list. So I have a usermodel with a parameter of isFollowing. When I click on a butt...
Pudding asked 4/3, 2021 at 9:0

4

Solved

I am using flutter for quite some time and recently use Get to implement state management. I am facing a problem when opening a loading dialog 1st and then message dialog. Then I want to dismiss th...
Ion asked 11/9, 2020 at 5:16

5

I was watching tutorials on using Getx with APIs. after setting a controller for fetching data. we declared a list variable and made it observable(obs). but the list format was deprecated. can you ...
Oculomotor asked 29/7, 2021 at 23:22

3

I'm using Flutter-Dart-SQLite to develop a quiz application. Here I have used RadioListTile for radio button functionality. I am passing the text value from an array to this StatefulWidget. This is...
Pointdevice asked 29/12, 2021 at 10:52

3

is it a good practice to send data with arguments in flutter using GetX (or any other way)? i mean is it good for performance and ram capcity ? ... like this example: Get.toNamed(AppPages.servicesD...
Saez asked 15/9, 2021 at 5:35

© 2022 - 2024 — McMap. All rights reserved.