Shubham Mundra
Shubham Mundra

Reputation: 53

how to create horizontally scrollable vertical listview in Flutter?

i want to create a list view on Flutter which can be scrolled vertically as well as horizontally.

Like in android we can build a recycler view over a horizontal scroll view then it allows us to scroll vertically as well as horizontally.

Is there any solution for Flutter to behave same.

I have tried nestedScroll view, customscroll view, nested Listview and was not able to achieve what i wanted.

If list view cannot do this please suggest any other widget with this property.

Please anybody help me with the solution. Thanks in advance☺

Upvotes: 0

Views: 537

Answers (1)

ejabu
ejabu

Reputation: 3147

Use Data Table widget.

Two dimensional scrolling is supported by flutter using this widget

Demo using Flutter Gallery AppDemo

Upvotes: 1

Related Questions