curved_carousel 0.0.6 copy "curved_carousel: ^0.0.6" to clipboard
curved_carousel: ^0.0.6 copied to clipboard

outdated

Curved Casrousel shows list of widgets in curve fashion.

Curved Carousel #

A Flutter package for easy implementation of curved carousel.

gif

Easy to use #

CurvedCarousel(
      itemBuilder: (context, i) {
        return Item(img: listItem[i].img, selectionChange: (bool){
          print('onTap:: ${listItem[i].name}')
        }, selected: listItem[i].selected,key: ValueKey(listItem[i].selected),);
      },
      itemCount: listItem.length,
      middleItemScaleRatio: 1.5,
)

Attributes #

itemBuilder : builder function returns widget of given index
itemCount : total widgets
viewPortSize : how much size a single item will have, the fractional value lies between 0 and 1, 1 means full size
curveScale : it specifies curviness
disableInfiniteScrolling : by default, infinite scrolling is enable, but if you want to disable it make it true
scaleMiddleItem : scales middle item of carousel, by default it is true
middleItemScaleRatio : it is scaling parameter for middle item\

59
likes
0
pub points
79%
popularity

Publisher

verified publishermindinventory.com

Curved Casrousel shows list of widgets in curve fashion.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on curved_carousel