smooth_carousel_slider_widget

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

smooth carousel slider widget

Create smooth slider with custom center selection widget
Features #

Usage #
Simply create a SmoothCarouselSlider widget, and pass the required params:
SmoothCarouselSlider(
itemCount: 11,
initialSelectedIndex: 5,
itemExtent: 80,
selectedWidget: (index) => Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: Container(
height: 40,
color: Colors.pinkAccent,
),
),
unSelectedWidget: (index) => Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: Container(
height: 40,
color: Colors.purpleAccent,
),
),
onSelectedItemChanged: (index) => debugPrint('$index'),
)

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.