GeekyAnts / infinite-carousel-flutter

Carousel in flutter. Supports features like infinite looping, friction effect, multiple scroll physics and control over item anchor and velocity.
https://pub.dev/packages/infinite_carousel
MIT License
50 stars 30 forks source link

added a itemExtent variable #8

Closed al4nnw closed 2 years ago

al4nnw commented 2 years ago

To create the scaling effect, it's necessary to use the itemExtent value to perform calculations. It's easier to understand it using a variable to store the itemExtent value.