Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

ListView overlapping in the button

I am getting this issue and tried to fix this but cannot able to find what is the problem and how to do this can anyone help me in this My locations sugggestions list is overlapping the use current ...
Tanu Purohit's user avatar
1 vote
1 answer
53 views

I'm having a problem inserting new items into the bottom of an reversed ListView in Flutter

i have this simple stateful widget: class SomeListWidget extends StatefulWidget { const SomeListWidget({super.key}); @override State<SomeListWidget> createState() => ...
Bebra's user avatar
  • 11
1 vote
0 answers
30 views

How to get a strong reference (i.e. a caller, owner or parent) to the ListTile a PopupMenu was called from?

I have a listview with a few itens (i.e. 15). This listview doesn't have an object attached to it. It's a simple list view with a array of list tiles. When user long presses an item, it shows a popup ...
Smith Onion's user avatar
0 votes
2 answers
47 views

Why does my Flutter app crash when using a custom widget inside a ListView?

I'm creating a custom widget in Flutter to display a card with some dynamic content. It works perfectly on its own, but when I add it inside a ListView, the app crashes with a 'RenderBox was not laid ...
Mohammedkabir Dawud's user avatar
0 votes
0 answers
22 views

Vertical viewport was given unbounded height error while using nested scrollable widgets

I was trying to implement infinite scrolling with this package but since the PagedMasonryGridView is inside ListView its throws 'Vertical viewport was given unbounded height. ' error even though i ...
Abel's user avatar
  • 77
0 votes
0 answers
22 views

Flutter/Dart: How to stop reloading the Stream on keyboard action ListView.builder

I am building a chat app that stores conversation between users on Firestore. The app is working as expected in regards to send and receiving messages, but I am struggling with the stream being ...
Rafael Ireno's user avatar
0 votes
1 answer
89 views

How to overwrite a global variable's value by declaring it inside a listview

This is for a stopwatch functionality. The xCountUpDuration is the default time for the stopwatch and I have set it in 2 places, one is outside listview (Code 1) and the value is set to 0 and the ...
Raj's user avatar
  • 123
0 votes
0 answers
48 views

Horizontal listview.builder doesnt scroll in a container inside a stack widget in flutter

I cant get my listview.builder to scroll inside a column which is inside a container which is inside a stack Listview.builder code SizedBox( height: 150.h, ...
Teewhy's user avatar
  • 35
0 votes
0 answers
18 views

filter a single string of ingredients that have all the ingredients from a list of strings

Im trying to filter recipes that have a single string of ingredients that have all the ingredients from resultData which is a list of strings. Cant figure how to do it. The current code rn only ...
Sean Harold S. Rebodos's user avatar
0 votes
2 answers
25 views

List inside in two column show overflow issue

I have a overflow issue. I have list view inside of 2 column which show overflow issue. Widget getViewMethod() { return Column(children: [ Container(color: ColorConst.whiteColor, height: 40), ...
webaddicted's user avatar
  • 1,079
0 votes
1 answer
18 views

ListView scrolling as empty below the preceeding widgets even after setting height to the container

enter image description here This is the code that I wrote. I am trying the make the listview start right below the text widgets and end right before the pay button.The Listview should disappear just ...
Midhunkrishnan's user avatar
1 vote
4 answers
163 views

Unable to design a correct layout in flutter

I'm trying to make a task app with Flutter and Firebase. I'm not the best for designing so I took a design from Dribbble that i'm trying to copy for my app. Here is the link of the design. Dribbble ...
Furiy's user avatar
  • 43
1 vote
1 answer
200 views

Flutter: How to make curve listview

I want to make a curved list item but it doesn't work as expected I've tried ListWheelScrollView and circle_wheel_scroll package. Basically, I can create the design I want. But problem: I can't tap ...
Kien Vu's user avatar
  • 1,048
0 votes
0 answers
37 views

Flutter/Dart: How to force PrefPage using a ListView to refresh screen?

I am using the pref library (v 2.7.1) to create a settings page within my flutter app. In particular, in the minimum code sample below, I am using the PrefPage widget which returns a ListView with the ...
Sören's user avatar
  • 2,741
0 votes
3 answers
182 views

Keyboard Dismisses Automatically After Typing or Removing One Character

I'm encountering an issue in my Flutter app where the keyboard dismisses automatically after typing or removing just one character in a TextFormField. I have a ListView.builder with Dismissible ...
Ziad Ghanem's user avatar
2 votes
2 answers
649 views

Hovering over menu items on a ListTile highlights the list item that contains it and does not go away

With the following code below, when I click on the menu anchor button and hover my mouse over the menu items, the ListTile underneath it also gets highlighted. After that, toggling the menu off will ...
asartalo's user avatar
0 votes
2 answers
176 views

How to make a list view with automatic scrolling?

I want to create a horizontal list view that scrolls automatically without user intervention at a certain speed. Also, this scroll should be done infinitely and the list view should be repeated. In ...
imamal's user avatar
  • 3
1 vote
1 answer
56 views

Can't scroll list of data when map inside Stack

I want only header of Table calendar to show the results on monthly basis that's why is overlap the calendar till header with another column where is show list of data everything is working fine but i ...
Rajat's user avatar
  • 31
0 votes
1 answer
125 views

Flutter not rendering page

I am new to flutter and was not able to view my output eventhough there was no error in the code. Here is what i was developing: Now the error was in the list that is in the center. Here are 2 codes ...
Rayan Ali's user avatar
0 votes
3 answers
131 views

Flutter remove white space in ListView

I want to make a cover for the cover of movies, which includes two rows, the first row rotates from right to left and the second row rotates from left to right. I also gave them an angle But there is ...
stysh's user avatar
  • 13
0 votes
1 answer
65 views

How to add new element in exist element of ListView or create new ListView element?

I have the following situation: I want to create a ListView that contains collections are sorted by date. So, I have a question: how to add a new element of list to an existing widget or create a new ...
Malakia's user avatar
  • 39
0 votes
1 answer
61 views

I'm making an application in Flutter but the items don't fit on the screen

I'm making an application in Flutter but the items don't fit on the screen, when I want to use ListView the position of the items get mixed up and it looks terrible, how can I edit these codes? import ...
Muhammed Halil Demirci's user avatar
1 vote
1 answer
40 views

TextFormField in listview is not able to retain value on list refresh upon button click in flutter

I have a listview with TextFormField. I can add/remove these values on button click. Some of the data in the list is already there when it is created. It is updated from an array. But when I enter any ...
mars_dev's user avatar
  • 639
3 votes
1 answer
358 views

Flutter improves ExpansionTile with ListView.builder performance

I am trying to do create a view of ExpansionTile with ListView.builder as children. It works well but just if my ListView.builder become larger, it will need to take some time to render it which ...
Leong's user avatar
  • 328
1 vote
1 answer
68 views

BoxConstraints forces an infinite width (listview in a Column)

I am getting an error when I add the listview builder in the column. I am getting the following error: this is my task widget page: import 'package:cloud_firestore/cloud_firestore.dart'; import '...
7vv's user avatar
  • 55
0 votes
1 answer
74 views

Flutter ListView.builder creating an extra height

I have a ListView inside a DefaultControllerTab, and for some reason it's creating an extra spacing above it, please check the image. Scaffold return Scaffold( appBar: AppBar( title: ...
José Carlos's user avatar
0 votes
0 answers
71 views

ListView.builder (even Expanded) doesn't work in a column

I am trying to create a popup that shows a list of selected food with ListView.builder, but it throws RenderBox was not laid out: RenderPhysicalShape#8740e relayoutBoundary=up4and 'hasSize' error. I ...
Sohatzky's user avatar
0 votes
3 answers
81 views

Make certain widget scrollable

I have a Column widget in my page. There are two widget in Column widget, one is ListTie, another is ListView. Widget _showBody(BuildContext context) { return Column(children: [ ListTile( ...
Tony's user avatar
  • 2,748
0 votes
1 answer
66 views

ListView.builder doesnt work properly with hive database

I'm making a pokemon go app which takes screenshot of a pokemon as input and creates a widget from some of it's properities. Everything seems to be working properly except ListView.builder. Previous ...
Earalias's user avatar
0 votes
2 answers
258 views

Flutter reorderable list

I am trying to create a simple Todo app. Working on the UI first so it's all dumb data, not user input at this point. I can get it working fine with list view, but when I try with reorderable list, it'...
Hans Ramzan's user avatar
0 votes
1 answer
36 views

Consumer isn't working updated after calling notifyListner() in Flutter

I have class which is with a ChangeNotifer. When I'm calling a method in this class i'd like a list view to be updated. Here is the class: class WorkoutProvider with ChangeNotifier { List<...
Hilay's user avatar
  • 11
0 votes
1 answer
74 views

How do I get this official Flutter ListView sample to scroll on iOS?

I want to create a scrollable ListView in a Flutter app. I tried copying sample code that uses ListView from this tutorial. I modified the list of items to make it longer than the screen. It is ...
gth's user avatar
  • 3
0 votes
2 answers
468 views

How can I display the latest list item at the top of list in listviewbuilder (Flutter)?

I have made an expense tracking Flutter application that records expenses and stores them in an SQLite database, displaying them within a ListViewBuilder. However, I have encountered an issue ...
Priyanshu's user avatar
0 votes
1 answer
62 views

Is anyone familiar with number selection by a vertical circular scrollable list by edge fading for a circular illusion, like a suite case number lock

I need a number selection list which should spin or rotate vertically like a suite case number lock system which the user should able to scroll up and down and the list should slide circularly like a ...
ADARSH K VINOD's user avatar
0 votes
1 answer
186 views

Closure call with mismatched arguments: function 'TasksList.build.<anonymous closure>.<anonymous closure>.<anonymous closure>'

Hello I'm getting this error when I tried to run the app and its says that Closure call with mismatched arguments: function 'TasksList.build...' Since this is my first time using the provider, i don't ...
Huzaifa Hassan's user avatar
0 votes
2 answers
52 views

After restarting flutter app, the added elements to the list are removed and from UI too

The Problem is that the List elements that the user enters in Textfields are rendered correctly. After App restart, the elements are removed from the List and from UI too. Here is the code: I created ...
Muhammad fahad azam's user avatar
0 votes
1 answer
242 views

Flutter Main thread performance

Cannot optimise UI with 20,000+ items. In Screen A; from API response I'm getting JSON file URL of products list (20,000+ items). After receiving JSON file URL, for background process I have used ...
Flutter dev's user avatar
0 votes
1 answer
343 views

Display attribute of List item in a ListView in Flutter

I am creating a small Flutter program to get to know it but cannot display the 'description' attribute of a 'Task' object (which exists in a List) using a ListView Builder. I have tried it with ...
user avatar
0 votes
3 answers
969 views

Flutter - Filtering lists for use with ListView

I'm trying to put what I've learned in Udemy courses on Flutter to good use by building an app for a simple, fake shoe store. The main feature I'd like to have in the main page of the app is a ...
Lucas's user avatar
  • 1
0 votes
2 answers
68 views

Error when using ListView builder in Flutter: Expected a value of type '(Object) => Widget'

I'm encountering an issue while working with my Flutter code. I'm trying to implement a ListView builder within a custom widget, but I'm getting an error message that says: 'Expected a value of type '(...
Andreas Meggetto's user avatar
0 votes
1 answer
27 views

List not update on RefreshIndicator

After loading a refresh widget, the list of values that should be displayed on the widgets on the screen is not updated. What is causing this? With hot reload, it updates, but when forcing the value ...
riki's user avatar
  • 1,725
0 votes
1 answer
94 views

Fade effect on the entering and the exiting child of ListWheelScrollView

As it can be seen in the GIF below that whenever the child exits the parent Container the child disappears without animation, which creates a bad impression on the user. How to add a smooth transition ...
Ramji's user avatar
  • 162
0 votes
2 answers
57 views

how to show image in listview builder from database

please help me I want to show image in listview constructor, image name i stored in database. My image file is stored in Folders Pictures. I retrieve the image to display in the listview builder but ...
gamedev dover's user avatar
0 votes
1 answer
45 views

How to convert status from number to text

I'm storing the states in a table which I keep as numbers 0 and 1. I want to get these states displayed in the listview builder. But I want these statuses to be displayed as text instead of numbers. 0 ...
john Gamey's user avatar
0 votes
2 answers
52 views

How to fetch status from database to show

I want to fetch status from database and show in listview as text but status which i store in database is number, how can i set those status as text? 0 = start 2 = pending approval 3 = Approved ...
gamedev dover's user avatar
-1 votes
1 answer
938 views

How to get current index of listview in flutter?

I have list include 5 items, i want get current index when scroll. I was use scrollcontroller and addListener it. But when use this way it will lag when scroll. I want instead it with another way. How ...
Muon Roi's user avatar
1 vote
3 answers
475 views

Vertical direction zooming not working when listview is wrapped with interactive viewer widget in flutter

Requirement: Needs to have pinch zooming/panning in all directions and scrolling with fling support Issue faced: To achieve this scenario tried wrapping listview.builder with interactiveviewer, but ...
Sharveen karunakaran's user avatar
1 vote
1 answer
2k views

How to display an image in listview builder

I took pictures to show in listview builder, but I found that my images are not showing. I use image.network to pull the picture to show which my pictures are stored in the folder Problem_image and ...
gfg_23's user avatar
  • 15
0 votes
1 answer
50 views

How to get images from folder to show in listview builder?

I want to retrieve images from a folder. Problem_image shows in listview builder which name of image i stored in database i write code and try to run but found image not showing only blue color circle ...
Pree's user avatar
  • 7
0 votes
1 answer
137 views

Delay build function until initialization, Flutter

In the initState() of my StatefulWidget, I am calling a function called initializeNewGrid(): void initState() { // get abbacus provider abbacusProvider = Provider.of<AbbacusProvider>(context,...
mabdullah412's user avatar

1
2 3 4 5
20