Milad-Akarie / skeletonizer

MIT License
367 stars 24 forks source link

Animations when content loading has finished #22

Closed client-side96 closed 6 months ago

client-side96 commented 10 months ago

First of all thanks for this great library that enabled us to implement skeletons in our flutter app very quickly. 🚀

I wondered if there is a possibility to apply a FadeIn animation when the content is loaded. So when the skeleton disappear, the real data could be animated to have a nicer transition.

What I tried so far is wrapping the child of the Skeletonizer in a AnimationSwitcher widget, but I guess that does not work, as the child widget is not replaced by the skeleton but rather the contents are replaced by it.

coolswood commented 6 months ago

@Milad-Akarie Hey! Thank you for this lib! Is there any chance that this feature will be implemented? It seems to be quite important for user experience

Milad-Akarie commented 6 months ago

It's planned yes

Milad-Akarie commented 6 months ago

@client-side96 switch animation was added to skeletonizer 1.3.0

client-side96 commented 6 months ago

@Milad-Akarie Awesome thanks for the effort 🚀