imageListCard function

Widget imageListCard(
  1. ImageListDetail imageDetail
)

Implementation

Widget imageListCard(ImageListDetail imageDetail) {
  return CarouselSlider(
    options: CarouselOptions(
  aspectRatio: 2.0,
  enlargeCenterPage: true,
  pageViewKey: const PageStorageKey<String>('carousel_slider'),
    ),
    items: imageListSlider(imageDetail.urls),
  );
}