问题描述
我需要为项目列表(例如学生)实现轮播视图.我希望能够在每个轮播中显示个人资料图像,名称和等级(3个项目).到目前为止,我只发现了像这样的图像的轮播: https://pub. dev/packages/carousel_pro#-readme-tab-
I need to implement a carousel view for a list of items( let's say students). I would like to be able to display profile image, name and grade (3 items) within each carousel. So far I have only found carousels for just images like this one: https://pub.dev/packages/carousel_pro#-readme-tab-
有没有可以让我为每张幻灯片放置多个小部件(例如图像,文本,文本)的软件包?
are there any packages that can allow me to put multiple widgets (example: image,text,text) for each slide?
推荐答案
,您尝试使用Carousel Slider程序包( https: //pub.dev/packages/carousel_slider ).我在需要创建小部件轮播的项目中使用了此代码.
you try out Carousel Slider package (https://pub.dev/packages/carousel_slider). I used this on a project where I needed to create a carousel of widgets.
这篇关于颤动小部件轮播,而不仅仅是图像轮播?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!