nixrajput / flutter_carousel_widget

A customizable Flutter carousel widget with infinite scrolling, auto-scrolling, pre-built indicators, expandable widgets, auto-sized child support, and enlarged center page.
https://pub.dev/packages/flutter_carousel_widget
MIT License
34 stars 20 forks source link

[Feature Request]: enlargeCenterPage support for ExpandableCarousel #40

Closed bazmichael closed 2 months ago

bazmichael commented 5 months ago

Contact Details

No response

Is your feature request related to a problem? Please describe.

I've been trying to use ExpandableCarousel (builder constructor as well) to leverage CarouselOptions.enlargeCenterPage, but it seems like the component's implementation ignores this option's property.

Could you please think of a possibility of fixing it?

Describe the solution you'd like

Otherwise, could you please create a different CarouselOptions object, that wouldn't support this option? Currently, it is misleading.

Describe alternatives you've considered

Using matrix transformer for each component in combine with current page index selection.

Additional context

ExpandablePageView library could be used to reach expected behaviour.

Code of Conduct