How to make a horizontal scrollable list using the ListView.builder() in Flutter.

Опубликовано: 20 Октябрь 2024
на канале: The Flutter Coach
164
2

Download the Code and Project Files at https://www.patreon.com/TheFlutterCoa...

In this video I demonstrate how to use the ListView.builder() in Flutter to build a horizontal scrollable list. This is similar to what you see in the Shorts section of the Youtube homepage or the Stories section on Instagram. You can use it for situations where you want the user to swipe sideways through a list of items.

By TheFlutterCoach. Enjoy!


Time Stamps:

00:00 - App demo
00:12 - App setup
00:22 - Adding images to the project
00:48 - ShortVideoThumbnail custom class
02:02 - List of thumbnail maps
02:24 - App layout
02:46 - ListView.builder()
03:35 - Complete app


#Flutter #FlutterTutorial #Horizontal #ListView #Widget #ListViewBuilder #scrollable #list #fluttercoach #fluttertutorialforbeginners