Skip to main content

All Questions

Tagged with
0 votes
0 answers
37 views

How render more items form top and from bottom?

I need to render items in list form top and bottom without using listView because it will fill phone memory.Is anyway to do it? I used the cacheExtent property but it only worked once, I want to use ...
Mee's user avatar
  • 43
0 votes
2 answers
207 views

I can't use Listview.builder inside SinglechildScrollview

body: ( SafeArea( child: SingleChildScrollView( child: Column( children: [ ListView.builder( itemBuilder: (context,...
Gaurav Maurya's user avatar
0 votes
1 answer
32 views

flutter api returning data but its not workin in listviewbuilder

I'm tryig to solve an error in flutter list view builder once im calling my api functions its showing me the exact data i want, but when im giving the variable to listview builder it showing null ...
Arslan Mughal's user avatar
0 votes
2 answers
191 views

How can i make a horizontal scrolling list View builder with dynamic height?

//ListView Builder Container( height: 230, margin: const EdgeInsets.only(bottom: 30), child: ListView.separated( physics: const BouncingScrollPhysics(), ...
Adi's user avatar
  • 25
0 votes
1 answer
326 views

Update item widget from local database list

I'm using a ready-made local database in my application and the problem is that I can't update one item from the list. If I add a chapter to favorites, then the button's state is updated only after ...
JM Apps's user avatar
  • 180
2 votes
1 answer
64 views

flutter can't recognize list atributes in listview builder

I want to make a list that shows some different kebab stores. I created a list with all the attributes i needed but flutter cant recognize or display the attribute "name" or any other ...
Semjon 's user avatar
0 votes
1 answer
88 views

Calculation based on index (e.g. 50*index to change width of containers) AND dynamic navigation from indexed titles

Here is my code below. I have tried using _navigation.indexOf and .indexWhere but both want to return integers and won't let me convert them into num dataTypes. I am hoping to generate at least 5 ...
Peter Moran's user avatar
-1 votes
1 answer
3k views

Flutter- How to render all items in the listview.builder at once and only once

I have a problem in flutter in listview.builder where it only renders the shown items, not all of them (even if they were not shown), and when I scroll down or up it renders the not shown items and re-...
JustBeginner's user avatar
2 votes
1 answer
3k views

Flutter: Change the background color of selected button in ListView.builder

I have a list of items and default color. List<String> items = ['A', 'B', 'C']; Color _color = Colors.transparent; From my code, it changes all the background colors of the buttons. ListView....
Kucing Malaya's user avatar
1 vote
2 answers
260 views

How can I implement listview.builder in FutureBuilder in Scaffold block?

I want to add my data in listview. also tried using this https://flutter.dev/docs/cookbook/lists/long-lists I got data in futureAlbum, and snapshot has data. but i can't convert these data in listView....
Fozuda's user avatar
  • 71
0 votes
1 answer
681 views

I want to show My Json Data in Listview in Flutter App

I want to show all my json data in listview. But the problem is, when I want to get idEmployee, officeID, avater and fullName in listview then it shows error. type 'String' in not a subtype of type '...
Fozuda's user avatar
  • 71
0 votes
1 answer
584 views

how can make listview builder to a reorderable listview in flutter (a priority task app (todo app))

how can i convert listview to reorderedableListview to make a priority task app this is my application design output i see many solutions but in most of them i found error Here is initstate code ...
amit.flutter's user avatar
  • 1,141
0 votes
1 answer
706 views

checkbox lost checked value in flutter

I show my list of answers via ListView.builder and check value on checkbox work ok, but when I scroll down and turn back checked value is lost. Other way when lost focus in checked answer automatic ...
Aida's user avatar
  • 1
0 votes
0 answers
2k views

Loading different PDF document using ListView Builder in Flutter

I am a newbie in Flutter and in programming as well. I have created a ListView with several Cards inside each card points to separate PDF documents which are loaded using the package '...
Rifat Hossain's user avatar
0 votes
2 answers
2k views

ListView Builder using If Condition return statement needed for blank space

The ListView looks the way I was hoping but I haven't found an option for the else statement that will let me end it there. Right now I can put a Text widget there but it continues to generate these ...
chrisfavritz's user avatar

15 30 50 per page