Limbou / expandable_page_view

MIT License
88 stars 36 forks source link

Support animating the size difference between pages #47

Closed xinran-finch closed 2 years ago

xinran-finch commented 2 years ago

I'm trying to animate the size of the ExpandablePageView when children have different height. Wrapping ExpandablePageView with a AnimatedSize doesn't work for some reason (it just jumps directly to the new height without animation). Is there a workaround for this?

Limbou commented 2 years ago

Hi @xinran-finch, ExpandablePageView has animationDuration and animationCurve parameters, would they work for you? If not, please describe your problem more precisely, ideally with some code example included.

xinran-finch commented 2 years ago

ahh those are exactly what i need. thanks for the response!!