All Questions
Tagged with flutter-getx listview
20 questions
0
votes
1
answer
44
views
ListView builder with data from API
i have data from API that contains 400++K data, when I search some data, it works but only shows the data that is on page 1this API contain 10 data per page
this is my controller, i want to search ...
0
votes
2
answers
127
views
How to place lottie animation or return statement in ListView.builder() if the selected date of DatePicker that is empty schedule
I still new learner in flutter and I need some help. Currently, I able get the ListView from Firebase Firestone that based on the selected date of DatePicker when user click on (figure 1) and I want ...
0
votes
1
answer
157
views
Getx , Flutter how to update state of a variable in a listview builder everytime list loads its taking initial index value only?
so i have to create a wishlist , and i am getting data from api . If the api returns outofstock = true , i will need to hide add to cart button and if the api returns in stock i will need to display ...
0
votes
1
answer
373
views
The improper use of a GetX has been detected when using RxList
I have created an observable list and then storing data in the list from the api as below
class FeedsController extends GetxController {
final Rx<List<Stories>> _stories = Rx<List<...
0
votes
1
answer
416
views
ListView rendering error on GetX's Get.defaultDialog and Get.dialog
If we use Flutter's default AlertDialog and showDialog, we don't encounter any issues with the ListView wrap.
return AlertDialog(
title: Text("Title of Dialog"),
...
0
votes
1
answer
1k
views
Select multiple items from ListView with Checkbox using GetX in Flutter
I have a listview loaded from API using GetX. Listview has a checkbox so that I can select multiple list items. I can select list items and can add them to another list. But I am not able to show the ...
0
votes
4
answers
956
views
overflow at the bottom of the Get.defaultDialog() when the keyboard is open
I am using Get.defaultDialog() with a ListView.Builder and a TextformField() at the bottom of the dialog. The issue is whenever I open the keyboard, The bottom of the dialog box is getting overflowed.
...
0
votes
2
answers
81
views
I have issue with using nested ListView builder in flutter. Data is rendering. After scrolling down once and comes back, the data is shuffling.Helppls
I have issue with using nested ListView builder in flutter. Data (Row wise data from api) is rendering correctly. After scrolling down once and comes back, the data is shuffling/ disappearing some ...
-1
votes
1
answer
84
views
Why my ListView.builder doesn't return anything?
I want to create a mobile application with Flutter, which reads news via an api. First time using Getx package to manage state. And I don't know why my news list is not generated
Here is my home page ...
0
votes
1
answer
709
views
GetX Observe List while updating it is a weird Loop
Currently I'm trying to observe a ListView.Builder using the Obx(). Lets say I have a textfield inside that list item, and I'm trying to observe the changes of the inputs, I'm getting a weird cycle / ...
2
votes
1
answer
718
views
Cannot remove the last item in the ListView Flutter
I have a ListView containing the observable list var cartItems = <CartItem>[].obs;, when I tried to remove the last item in the ListView, I got error RangeError (index): Invalid value: Valid ...
0
votes
1
answer
3k
views
Flutter-GetX; Update list in item of list
I'm having a problem, I have a list let say (ListOne) and each item has a list let say (ListTwo), when I enter an item into ListOne, ListView.builder/ListView.separated for ListOne it works while when ...
0
votes
2
answers
2k
views
The argument type 'List<dynamic>' can't be assigned to the parameter type 'Iterable<Product>'
This is my controller class as I am using GetX controller with null safety
// ignore_for_file: file_names
import 'package:get/state_manager.dart';
import 'package:today/models/product.dart'...
1
vote
1
answer
1k
views
flutter refresh obs list of classes after changing data in it
I created a list and made it observable by using using getx obs
var msgChat = List.filled(1, UserMessagesModel(), growable: true).obs;
and if i append or add a new to it, it automatically updates in ...
0
votes
1
answer
3k
views
Listview.builder with Getx state management
I am reading data from database in word controller class. Then I list the data in the UI with listview.builder. When you add data in the same page, it is not added to the list at the same time. I'm ...