Flutter LONG LIST. Memory Efficient dynamic ListView tutorial: Flutter Dart Tutorial #2.8

preview_player
Показать описание

Flutter tutorial for beginners using Dart. Learn how to use memory efficient LIST VIEW in dart by using ListView.Builder constructor. And dynamically inflate ListTile as the List element.

.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
Комментарии
Автор

You were born with teaching talent. Keep up good work.

VishalDesai
Автор

itemBuilder: (context, index) ====> here, please explain how context and index will be resolved. what is index element and how this is called and how the value of index is decided?

rahulvashishth
Автор

Thank you so much! You are very good. Lessons are clear and succinct. You are very helpful

demotics
Автор

My debugPrint is not working with the list view. It is also not showing any error.

s_nawaz
Автор

Very nice tutorials. I have completed Dart tutorials and now on Flutter. Very clear and concise. Keep up the good work. Just a small thing, add itemCount = 100 to item builder in order to limit the list to 100 items, otherwise it was giving error on android emulator when the list is scrolled.

domainadministrator
Автор

Your videos are cool, but could you tell me where the index comes from? I mean where are we giving it to the itemBuilder, or which function or Widget do that?

PivotGuy
Автор

Okay, here we go.
I got a video from a friend and I saw how exciting it was.
You made the definition of "complex" to be something else.

Having watched the video, I vowed to look for your channel. I've watched all your playlist on Flutter but I can't comment on it all.

So, here's an appreciation from A Nigerian friend.
Thanks for all you do.
You're appreciated.
Thanks once again 😀😍😘😎

Jobic-
Автор

I got everything you taught except from one thing that what actually context and build context arguments does?

mklion
Автор

what i have to do if i want to show 1000 different string? do i have to change inside generate? and how? can anyone explain please

MdYousuf-gwdn
Автор

var listView = ListView.builder(
itemCount: (listItems.length), <<< That's the missing line to stop range exceptions that happens when you scroll past the end of a list.
itemBuilder: (context, index){

michaelb
Автор

How to implement LongList or ListView from below some widgets.
Suppose if I have:
Widget 1
Widget 2
Widget 3
I want to implement LongList from below widget 3. Whenever I try to implement ListView below widget 3, the screen is blank, nothing appears. What might be the reason?

nabinkhatiwada
Автор

don't know why but if i want the list item count 100, it shows error after item 99 and the error is RangeError (index) : Invalid Value: Note in range 0.99, inclusive 100

nirjanmunshi
Автор

please make a video on build method, Builder, build context, context it is so confusing. please

syedimam
Автор

I am getting an error "The method builder is not defined for the class ListView"

mithuns
Автор

Is it possible to make a Toast instead of debugPrint()? That will be more meaningful. I don't know whether we can make a toast in flutter.

Nithinjith
Автор

Nice video.
Can each ltem in the long list have their own name. Also can I assign an ontap function to different items when click..according to the video the ontap function was applied to all the items.

refreshing_morning
Автор

Hello
How do I display list elements randomly?

testtest-ytss
Автор

Great tutorial! The additional information is the same as previous listeners have made. How do I do to control the red screen when the index > 1000 ?

josejaimes
Автор

you are a great teacher! i love this Flutter serie

Solar
Автор

Hello there
First of all thanks for your efforts
I wanted to notify that you forgot to add itemCount in ListView.builder() constructor which causes RangeError(index ) error

muhammadfaizan