Skip to main content

All Questions

Tagged with
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 ...
OMEIX C's user avatar
  • 21
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 ...
Waza_Be's user avatar
  • 39.6k
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 ...
Henry Davis's user avatar
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, ...
Julian's user avatar
  • 11
-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. ...
Andrey Kuzovlev's user avatar
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 ...
CeleX's user avatar
  • 1
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 ...
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
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 ...
Spartis's user avatar
  • 61
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 ...
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
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 ...
JESSE Bin's user avatar
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 ...
Lambo's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
145