Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Flutter ListView not updating despite data list has been updated unless I scrolled all the way to the end

I'm trying to implement this posts-filter functions using Provider in Flutter, the posts has title, timestamp, pfp, and number of likes/comments, my problem is let's say if the user sorted to Oldest ...
Henry Davis's user avatar
0 votes
0 answers
36 views

Flutter sticky list tile

I am building a Flutter widget that displays a ranked leaderboard of users, where one of those users is me. I want to implement the following functionality: If I'm not currently visible in the list, ...
Julian's user avatar
  • 11
-1 votes
1 answer
30 views

How to make list start below the AppBar but scroll underneath it in flutter?

Initially list should start where it needs to be - not covered by app bar, but if scroll down it should go underneath it. For Blur effect would be great. In this video somehow he got this behavior. ...
Andrey Kuzovlev's user avatar
0 votes
0 answers
36 views

Is there a way to remove the SliverFillRemaning?

I'm working on a Flutter app where I have a TabBarView under a TabBar to display different lists. Each list dynamically generates HistoryCard widgets based on a mock data source. However, when the ...
CeleX's user avatar
  • 1
0 votes
1 answer
67 views

How to add a scrollable ListView in a flexible container so that the footer adapts its position?

I am trying to make the ListView container adapt to the content by keeping a footer right below the container and not on the bottom of the page : many tiles : ListView will be scrollable and the ...
Jean VM's user avatar
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
1 answer
30 views

Flutter render overflow ListView Builder

I am getting what I think is a render overflow issue using a ListView builder. I am sure that the ListView is the issue. I have looked into wrapping the ListView in an Expaneded widget because it ...
Spartis's user avatar
  • 61
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
2 answers
42 views

How to Display the ListView at the Bottom Directly When Opening a Chat Page (Like Most Chat Apps)?

I'm building a Chat Page and want it to display the latest message when opened, similar to most chat apps. Currently, I have tried two approach. Approach 1. Using addPostFrameCallback with jumpTo like ...
JESSE Bin's user avatar
0 votes
1 answer
42 views

How to create a sticky text below a scrollable list in Flutter?

I am trying to display text directly below a list in Flutter, so that for a few items in the list there is no space between the list and the text. For many items, the text should remain visible at the ...
Lambo's user avatar
  • 3
0 votes
2 answers
54 views

While creating dynamic list containing TextField's, the user inputs & index are lost on adding or dismissing a list item (Flutter)

Below is my minimal reproduction of my working code, where a dynamic list is created. The list has been initialised with a single element at the start. User can add more items on pressing a button or ...
pbs_mhl's user avatar
  • 77
0 votes
1 answer
23 views

How to select and unselect all checkboxes based on button click in flutter

I have a listview which contains checkbox inside the listTile. This listTile will be generated dynamically based on the length of the list. Here is my ListTile and Custom checkbox code. ListTile( ...
sridhar venkatesan's user avatar
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
1 vote
1 answer
81 views

Return value from all list elements

Because I have no mock-data currently available, I created my own and I'm currently struggling to get specific values out of it. The idea is to have a list of playlists, which I already instantiated, ...
Tech RCV'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
1 answer
40 views

how to fix list view is cut from bottom in dialog when keyboard is open flutter

In a Dialog when a list is shown and the keyboard is open for search the list cant be scroll to the last index and it looks like the list is cut from bottom. here you can see in this video if I open ...
sachin vyas's user avatar
0 votes
1 answer
85 views

addListener on scroll controller to animateTo an offset is not working

While trying to create a snap effect on the header of a ReorderableListView, I have written below code. But the jobWidgetListener function is not animating my list items to the required offset. In the ...
pbs_mhl's user avatar
  • 77
0 votes
0 answers
33 views

Handling a Dynamic ListView.builder in Flutter

I manage a ListView.builder inside a Drawer that should show all my friend requests. By clicking on any item in these friend requests, I can access another page (OtherProfilePage) where I see the ...
Julien's user avatar
  • 1
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
56 views

Handling Large Datasets in initState() in Flutter

If I fetch a large amount of data in initState(), will it affect my app's performance? How should I handle a large dataset efficiently? I am working on a Flutter application and I am concerned about ...
Umamaheshwari Swamiappan's user avatar
3 votes
0 answers
72 views

Flutter NestedScrollView: Independent Scrolling for Nested Elements (Carousel, List, and Grid)

I'm working on a Flutter app where I want a screen layout with the following structure: A carousel widget with an indicator at the top. A list of cards beneath the carousel. A row containing a list ...
Mohʌɱɱʌɗ's user avatar
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
1 answer
39 views

Getting jank issue while scrolling thousand of records in listview builder

There is pagination for that view but when I'm selecting to see 1000 records in a one page, there is jank while scrolling. I have listview builder for that ,is there any approach in which show table ...
Vaibhav Sharma's user avatar
0 votes
0 answers
31 views

Flutter Nisted Listview builder with lazyload for each one

enter image description hereIn my case, there is a ListView builder for the Group header, and for each Group, there is a ListView builder for the items of the Group. Both the internal and external ...
Khaled Sawan'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
0 answers
29 views

can't assign docs of nested query firebase collection to a List<class>

I'm have been trying to get all data of collection a and subcollection b and insert them into a List of model to use that list later to show data in a ListView builder , problems are: 1- I can't get ...
fyry J4's user avatar
1 vote
0 answers
19 views

wrong work horizontal listview scroll in SlidingUpPanel

I use sliding up panel I have two listview. One inside other. First vertical, second horizontal. When swipe horizontal listview, SlidingUpPanel also moves, if vertical listview not long enough. How ...
Yant's user avatar
  • 11
0 votes
0 answers
22 views

Why can you skip an Item in ListView.builder but not GridView.builder without leaving holes in Flutter?

For Example see the following ListView and GridView builders: This is my ListView for example: ListView.builder( itemCount: itemList.length, itemBuilder: (...
Taaha Rauf's user avatar
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 ...
Keroppiiiii's user avatar
1 vote
1 answer
114 views

How to not refresh the entire state of listview builder

My goal is to retrive data progressively and not all at once. For that purpose I'm using a ListView builder that, when it reaches the bottom of the current List try to Add other elements asking to DB. ...
Geremia Moretti's user avatar
1 vote
1 answer
46 views

How to add double scroll [FLUTTER]

I have a general page scroll SingleChildScrollView and a scroll for products (movies) GridView.builder But they don't work together [ The screen does not scroll correctly But if you remove the height ...
 DENIS DenUp's user avatar
0 votes
2 answers
122 views

Flutter what is the best way to design a form with a button on bottom?

Edit 2: I have created a new post where I explain better what I want to achieve Flutter Best way to create form with a button on the bottom? I have been searching for so long to find a good solution ...
Marios Plenchidis's user avatar
0 votes
1 answer
33 views

Flutter: Navigating and populating new screen by clicking on list

Sorry for not being able to provide code for this question since I'm still at the very beginning of the development. I'll try to create an example with something simple that achieves what I'm looking ...
Diogo Boëchat's user avatar
1 vote
0 answers
44 views

How to smoothly insert new messages in a reversed ListView in Flutter

I am using a reversed ListView in Flutter to display a chat list. When pulling to insert historical messages at the top, the scrolling remains stable. However, if a new message is added while the list ...
ds JY's user avatar
  • 11
0 votes
0 answers
41 views

Change shrink direction for ListView / ScrollablePositionedList

I'm building a chat page with ScrollablePositionedList. To avoid new insertion change elements order cause trigger rebuild for every element completely, I have to set reverse: false But I also need to ...
wzz's user avatar
  • 11
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
0 votes
1 answer
51 views

Flutter Bloc based ListView pagination not keeping the position

I am working on Bloc based ListView pagination. but the problem is whenever fetching new data from API and set the data appending to previous state and emit, the ListView is refreshed and the cursor ...
Jaeho Lee's user avatar
  • 523
0 votes
1 answer
69 views

Making a Container height match the Intrinsic Row Height inside a ListView

I want to make the container height to match the Row height inside this ListView, so I get a nice indicator for every card. The column will have variable length, so I cannot set a specific height. If ...
Daniel's user avatar
  • 792
0 votes
1 answer
58 views

Flutter: ListView with header

Created custom header Widget _listHeader({bool hideSelect = true}) { return Container( color: headerColor, padding: const EdgeInsets.only(top: 8, bottom: 8), child: Row( ...
Farhana Naaz Ansari'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
0 votes
0 answers
132 views

Flutter Web: problems with scrolling to begin or end in ListView after updating listview-items

I am building a Flutter Web app which provides an agenda. The agenda is presented in a ListView. I am fetching data from a backend to fill the agenda with future / past events. To avoid a huge list ...
Casper Kaandorp's user avatar
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
1 vote
2 answers
251 views

Flutter ListView height and Staffold extendBody: true

I have came across one "issue" with using ListView builder (multiple of them) on single page. In combination with CustomScrollView and SliverToBoxAdapter I was able to build 3 different ...
Maka's user avatar
  • 663
0 votes
0 answers
25 views

Why flutter's listview go to the backgroud of a textfiled in the same Column?

I put a TextField and a ListView in a Column. When I scroll ListView down, ListView will go to the background of the upper TextField. How to solve this problem? I put ListView in the Expanded, but can'...
guo li's user avatar
  • 1
2 votes
1 answer
1k views

CustomScrollView with center key and mulitple slivers: Expand widgets in different directions

I am building an app where you can browse various products. Each product also has a product detail page. On that product detail page, I want to display the product image, the price, a product ...
Jan's user avatar
  • 582
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

1
2 3 4 5
44