【发布时间】:2021-08-19 08:11:46
【问题描述】:
我想制作动态课程以使用 for 循环广告获取变量长度来实现这一点
height: 200.0,
child: new Carousel(
boxFit: BoxFit.cover,
//Start problem Area
images: [
for (int i = 0; i < widget.eoprod_slider.length; i++)
{AssetImage(widget.eoprod_slider[i])}
],//End Problem Area
autoplay: false,
dotSize: 4.0,
indicatorBgPadding: 2.0,
),
);
【问题讨论】:
标签: flutter