简体   繁体   中英

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☺

Use Data Table widget.

Two dimensional scrolling is supported by flutter using this widget

Demo using Flutter Gallery App 演示

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM