简体   繁体   English

如何在颤振中实现水平 3D 列表视图

[英]How to implement horizontal 3D listview in flutter

I know we can implement a simple vertical listview using ListWheelScrollView but can't find a way to do it for a horizontal listview.我知道我们可以使用 ListWheelScrollView 实现一个简单的垂直列表视图,但找不到水平列表视图的方法。

I know the last step would be to implement it starting from scratch but I'd prefer to have a faster solution if there is any!我知道最后一步是从头开始实施它,但如果有的话,我更希望有一个更快的解决方案!

在此处输入图片说明

For the moment there is no parameter to make ListWheelScrollView horizontal but it's a requested feature and it will be probably possible in the future.目前没有参数可以使 ListWheelScrollView 水平,但它是一个请求的功能,将来可能会实现。 Otherwise you can try the workarounds suggested in this topic: How to make ListWheelScrollView horizontal否则,您可以尝试本主题中建议的解决方法: 如何使 ListWheelScrollView 水平

You can also use the ListWheelScrollViewX package.您还可以使用ListWheelScrollViewX包。

To make the listWheelScrollView elements clickable you can use the clickable_list_wheel_view package要使 listWheelScrollView 元素可点击,您可以使用clickable_list_wheel_view 包

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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