'How to use Listview.builder in Column and make them scrollable horizontally in flutter?

code

Is there any way to use SingleChildScrollView and pass Column as a child and ListView.builder in that column?

I just want something like shown in the attached photo.



Solution 1:[1]

One way to do what you aim to do is the Scrollable Widget https://api.flutter.dev/flutter/widgets/Scrollable-class.html

Another way is to set the scrollDirection: Axis.horizontal https://docs.flutter.dev/cookbook/lists/horizontal-list

From the code you post I think you are aiming to something like this Horizontal ListView inside a Vertical ScrollView in Flutter

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1