{"repo":"serenader2014/flutter_carousel_slider","free":true,"listed":false,"github":"https://github.com/serenader2014/flutter_carousel_slider","clone":"git clone https://github.com/serenader2014/flutter_carousel_slider.git","description":"A flutter carousel widget, support infinite scroll, and custom child widget.","language":"Dart","stars":1694,"topics":["flutter","carousel-slider","widget","infinite-scroll","autoplay"],"license":"MIT","category":"mobile-apps","readme_excerpt":"carousel slider A carousel slider widget. Features Infinite scroll Custom child widgets Auto play Supported platforms Flutter Android Flutter iOS Flutter web Flutter desktop Live preview https://serenader2014.github.io/flutter carousel slider/#/ Note: this page is built with flutter-web. For a better user experience, please use a mobile device to open this link. Installation Add carousel slider: ^5.1.2 to your pubspec.yaml dependencies. And import it: How to use Simply create a CarouselSlider widget, and pass the required params: Params Since v2.0.0 , you'll need to pass the options to CarouselOptions . For each option's usage you can refer to carousel options.dart. If you pass the height parameter, the aspectRatio parameter will be ignored. Build item widgets on demand This method will save memory by building items once it becomes necessary. This way they won't be built if they're not currently meant to be visible on screen. It can be used to build different child item widgets related to content or by item index. Carousel controller In order to manually control the pageview's position, you can create your own CarouselSliderController , and pass it to CarouselSlider . Then you can use the CarouselSliderController instance to manipulate the position. CarouselSliderController methods .nextPage({Duration duration, Curve curve}) Animate to the next page .previousPage({Duration duration, Curve curve}) Animate to the previous page .jumpToPage(int page) Jump to the given page. .anim","default_branch":null,"files":null,"tree":[],"storefront":"/r/serenader2014","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/serenader2014/flutter_carousel_slider/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}