All Questions
2,168 questions
2
votes
1
answer
70
views
Flutter Statefulwidget update error in ListView
Steps to reproduce
A ListView widget with stateful widgets in it
Insert a new stateful widget into ListView (And the new widget should be of the same type as the original widget in the ListView at ...
1
vote
1
answer
29
views
Calling a ListView from a separate dart file--do I have to define my list as a parameter of all my widgets?
In my app, I have a ListView that I would like to populate with Firebase data. I successfully did it, but now, I would like to separate my ListView in another dart file
main.dart
class ...
0
votes
1
answer
38
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 ...
0
votes
0
answers
39
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, ...
-1
votes
1
answer
33
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.
...
0
votes
0
answers
38
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 ...
0
votes
1
answer
70
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 ...
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 ...
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() => ...
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 ...
0
votes
1
answer
31
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 ...
0
votes
2
answers
52
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 ...
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 ...
0
votes
2
answers
50
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 ...
0
votes
1
answer
43
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 ...