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
39 stars 23 forks source link

[Feature Request]: Maximum height value #25

Closed bugrevealingbme closed 1 year ago

bugrevealingbme commented 1 year ago

Contact Details

strixbme@gmail.com

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

I am using Expandable Carousel. I want to set the maximum height. Thanks

Describe the solution you'd like

Maxheight:

Describe alternatives you've considered

I think easy solution

Additional context

No response

Code of Conduct

hkarmoush commented 1 year ago

I'm not sure if wrapping the Expanded widgets inside a ConstrainedBox will work since Expanded calculates it dynamically, would you be able to share a sample of code?

bugrevealingbme commented 1 year ago

ConstrainedBox worked. Thanks