📜  轮播滑块颤动 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:23.651000             🧑  作者: Mango

代码示例1
CarouselSlider(
    items: list
            .map((item) => Container(
                  decoration: BoxDecoration(
                    image: DecorationImage(image: AssetImage(item.toString()),fit: BoxFit.cover)
                  ),
    
                )) .toList(),
    options: CarouselOptions(
      autoPlay: true,
      disableCenter: false,
    )) ,