750 questions
0
votes
1
answer
125
views
How to display real audio waveform from MP3 binary data stored in a database in Flutter?
I have an app where audio recordings are stored as MP3 binary blobs in my database. I retrieve these recordings via an API as base64-encoded strings or binary streams.
I want to display the actual ...
0
votes
1
answer
63
views
How to add a widget to a ListView.builder without reinitializing the rest of the list
I am building a chat section in my app. The chat body will be built using a ListView.builder + using BLoC and BlocBuilder to rebuild the list of widgets when the SendButtonPressed is fired (for now). ...
2
votes
1
answer
51
views
listview and dismissable not animating a listtiles background correctly when removing an item
im having an issue with the Listview Builder in Flutter.
Im using dismissible to remove items from that listview. When removing an item, the other items don't animate correctly. The text "goes up&...
1
vote
2
answers
90
views
Getx Obx() is not updating on GridView, ListView and on BottomNavigationBar
I have added Obx() for updating my UI as per with the variables.obs. It did not work so after that I added variables.refresh() and update() for updating the onChanged() function. Still my UI is not ...
0
votes
1
answer
61
views
Flutter iOS: ListView doesn't scroll after swipe-back gesture from pushed screen
I'm experiencing a Flutter issue specific to iOS when using the native swipe-back gesture to return to a previous screen that contains a ListView. On returning, the ListView does not respond to the ...
1
vote
1
answer
43
views
How to combine ScrollablePositionedList with Navigator push/pop without states
My app combines ListView and Navigator (push and pop) to browse (sub)sections of a document, starting from a user-supplied keyword or a TOC entry (with a TextButton for each section in the document). ...
0
votes
0
answers
32
views
HiveDB index not syncing in listview and get null when editing
hey I get Null Error when I try to edit after deleting an Item in HiveDB on swipe in listview
import 'package:notes_app/HiveDB/hive_crud.dart';
import 'package:notes_app/Model/notes_model.dart';
...
1
vote
1
answer
102
views
Flutter Dismissible widget causes extra spacing between ListView items
I'm using a Dismissible widget to allow users to delete tasks from a ListView. However, the red background of the Dismissible is larger than the actual card size, causing extra spacing between the ...
1
vote
1
answer
67
views
The issue with scrolling component
The issue where the position of the displayed content on the page changes when the Flutter scrolling component slides down or up to load and add data
When I swipe the page to load data, the content ...
0
votes
0
answers
49
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, ...
0
votes
0
answers
52
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 ...
1
vote
2
answers
118
views
Flutter ListView in AlertDialog overlaps with Dialog Title
I have a simple ListView in my alert dialog. It allows a user to make selection and once selected, the list tile color changes.
The weird issue that I am having is for the selected tiles, when I ...
0
votes
2
answers
37
views
How to convert a JSON Array String with a key that is another array into a ExpansionTile view in flutter
How would one go about decoding a JSON String that looks like this and turn it into a Expansion Tile List with the dropdown of each tile being the "ownerhistory" of each tile:
[
{
&...
1
vote
1
answer
30
views
Render List using ListView.builder
I am trying to render list of cards in flutter, but i am getting exception
Vertical viewport was given unbounded height.
import 'package:ServiceDispatch/core/widgets/job_card.dart';
import '../../...
2
votes
0
answers
52
views
Facing issue while trying the listview.builder to move to a specfic index in flutter
Here is the ListView.builder widget where UI implementation called trying to move the ListView.builder to a specific index, but it only worked when I didn't interact with the scroll manually; ...
1
vote
2
answers
76
views
ListView of Checkboxes in Flutter causes an Exception
I have a scrollable list of checkboxes. When I realized that I could have more or that small screen size may not hold my list, I decided to use the simplest scrollable list (ListView).
If I shrinkwrap ...
0
votes
1
answer
60
views
Flutter listview.builder not scrolling horizontally
I have been using the flutter package Side Sheet, inside the side sheet I have a Listview.builder, which I want to make scroll horizontally (located towards bottom of code snippet), I have given a ...
2
votes
1
answer
196
views
The scroll action in horizontal list view causing page navigation in flutter web app
In my flutter web app, I have TabBarView and in one of the tabs, there is horizontally scrollable list view. The scroll action often causing website navigation action ending up in previous webpage.
...
4
votes
0
answers
214
views
How to create custom shaped ListView
I want to create Horizontal V shaped List View just like in the following image , it will scroll from right to left and top to bottom. The labels are index of each container that will be inside it. ...
1
vote
1
answer
75
views
Why ListView create a new object if it is already in memory
I'm investigating performance difference between ListView and ListView.builder in Flutter. Theory says ListView create all widget at once, while ListView.builder create when it's visible.
I checked ...
0
votes
1
answer
56
views
"Null check operator used on a null value" at ListView Builder
I have this seperate page that I navigate to it and I am testing my Question widget with a ListView.builder().
The error occurs when I navigate to the page, at ListView.builder(). I am new to ListView/...
1
vote
1
answer
43
views
Flutter: Listview inside a scrollable column does not work in AlertDialog
I am trying to include a listview in an already scrollable Column inside an AlertDialog. I saw that if I used NeverScrollablePhysics(), shrinkWrap: true & a SingleChildScrollView() it should work.
...
0
votes
1
answer
53
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 ...
1
vote
1
answer
67
views
Weird behavior of Flutter list-view. It overflows its bounds
I observed some weird behavior of Flutter's list view. It overflows it's boundary. I basically needed a screen with a heading area, a list-view in the middle and a footer. I enclosed the three ...
0
votes
1
answer
64
views
Flutter: How to use Stack Widget in Listview
Stack Widget in Listview, Unable to display completely, here is my code
class MyHomePage extends StatelessWidget {
const MyHomePage({super.key});
@override
Widget build(BuildContext context) {
...
0
votes
0
answers
41
views
Unexpected horizontal margins in ListTile
In this screenshot, I've got a ListView with three empty ListTiles. However, in the iOS version, the ListTiles have large horizontal margins (shown in purple), which I don't want. I've tried adding ...
0
votes
1
answer
96
views
Is there a way in flutter to have nested ListViews without using shrinkWrap or specified height for the sublist?
I need to have a list of elements. Each element will have a list (for example, parent comment and its list of replies). But in this case I need to provide shrinkWrap: true or to provide Container with ...
2
votes
3
answers
116
views
Why ListView.builder hangs the app when an empty Container widget is returned from itemBuilder callback?
I just started learning Flutter and during the development, the app got stuck at Performing hot-reload.
I tried flutter clean, flutter pub get and reboot of the android emulator and then re-run the ...
1
vote
1
answer
65
views
Map for Multi List entry
I have dynamic list have multi value as dynamic number needs to convert to string like below example. when I test it in dartpad it will work only if I have one entry in (listN) but when I have multi ...
0
votes
2
answers
142
views
Vertical viewport was given unbounded height. Failed assertion: line 2051 pos 12: 'hasSize'
I am trying to create the nested Listview using the two listview.builder but the problem is it causing unbounded height. I have tried all the possible solution like using CustomScrollview with sliver ...
0
votes
1
answer
75
views
Flutter ListView items move up and down after scrolling finishes following Flutter update
I recently updated my Flutter SDK to the latest version and noticed an unusual behavior with my ListView. After the list finishes scrolling, the list items move up and down slightly, which wasn't ...
0
votes
1
answer
93
views
How do you make child in a horizontal ListView take up the entire width of the parent?
If you have a ListView widget which is set to horizontally scroll, how do you make all the children in it take up the entire full width of the ListView widget? Therefore you can still scroll between ...
0
votes
1
answer
116
views
set audio inside list view builder audio play automatically when I scroll
I use just audio package and set audio inside listview.builder and I click first button the audio is play but when I scroll the list the audio automatically play and is not playing correct index by ...
0
votes
0
answers
80
views
Why ListView.builder isn't lazy?
In the app, there is a button which pushes a page. This page contains a ListView.builder with more than 400 custom widgets. However, when the button is clicked, the app freezes for a few seconds and ...
0
votes
1
answer
76
views
Listview index is always reset
I have a widget that returns a ListView. When an item in the ListView is selected, I show the CircularProgressIndicator on the screen while downloading the data for this item, and after the download ...
0
votes
0
answers
31
views
Flutter searching a listview
The following code should search a listview for a wilcard and display the results.
I can see that the function _runFilter is running as expected from test code "print("line 63: _runFilter ...
1
vote
2
answers
77
views
How to update only one widget in a ListView in Flutter when its data changes?
class ListNumbersPage extends GetView<MyController> {
final colors = [
Colors.red,
Colors.green,
Colors.pinkAccent,
Colors.blue,
Colors.grey,
Colors.cyan,
];
final ...
0
votes
1
answer
55
views
ListView in Future not being updated using setState
Package multiple_image_camera on pub.dev has some limitations so I'm trying to create my own component that can be customized.
I tried placing the imagesFromCameraRoll.add(img) inside and outside ...
1
vote
2
answers
317
views
ListView inside ListView is building all item at once
On my screen I need to display a ListView inside an other ListView. The screen can be summarized like this:
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: ...
-1
votes
4
answers
74
views
I want to achive this nested list UI in flutter
How could we achive this UI in flutter?
The top row buttons hide when scroll up and visible when scroll down and the listview is wrap in a card widget.
https://youtube.com/shorts/6e3q47AMXoU?si=...
0
votes
1
answer
49
views
How can I correct this to satisfy the Lint message in Flutter?
I am getting the following lint on
Text("The color is " + item['color'])
"Use interpolation to compose strings and values. (Documentation) Try using string interpolation to build the ...
0
votes
1
answer
34
views
Why do ListView widgets move out of the Container when scrolled?
I placed a ListView in a Container with a certain height and I want the scrollable area to remain within this Container. In other words, scrolling will only be done within that Container and the rest ...
-1
votes
1
answer
384
views
How to Efficiently Manage Memory Usage in Flutter ListView with Large Datasets?
I'm facing a challenge in my Flutter application where I need to efficiently manage memory usage while working with very large datasets in a ListView.
Imagine the following scenario:
I have a remote ...
0
votes
1
answer
37
views
Flutter: Creating pages new pages to show details from a ListView
I have a clickable ListView and I want to have it open a new page to display detailed information when a card is clicked.
I have a ListView that builds itself automatically from a dictionary (not sure ...
0
votes
1
answer
21
views
Not able to make scrolling in my Listview items that are in the stack in flutter
I want this design enter image description here and almost i have made this design but the problem is with i'm unable to add scrolling in it ..if i'm not using the right approach then give me solution ...
1
vote
1
answer
285
views
BoxConstraints forces an infinite height: SizedBox.Expand()
Im building a List View for displaying videos.I'm using ListView to display 2 videos beside each other for each blog post.
I've wrapped ListView inside a SizedBox of a custom height and width. For the ...
0
votes
3
answers
622
views
ListView.builder within ExpansionTile children is not showing when tile is expanded in Flutter
Right now I am generating a List of ExpansionTiles using a ListView.builder. Each ExpansionTile can be expanded to view an additional list of items which is generated with a ListView.builder as well. ...
0
votes
0
answers
118
views
Pagination in ListView inside ListView flutter
I am new to Flutter development, I have a ListView.Builder which returns me some items.
The case is, I want to have another listview within the parent one which will paginate on scroll in flutter.
I ...
0
votes
1
answer
74
views
Button is not changing background color on click in ListView
In a flutter app, I have a FilledButton in a ListView widget and one outside the ListView. Both these Buttons are identical in terms of their code, they just live inside different parents:
void main() ...
0
votes
0
answers
35
views
In my flutter app, Last two product are not completely showing
To display the product I have used ListView.builder(). I am show only 20 products for now but last 2 products are not completely displayed. It doesnot show any error in debug Console or on screen.
I ...