flutter_shimmer
flutter_shimmer copied to clipboard
Show/hide shimmer effect
Expected behaviour - when enabled: false, hide shimmer effect but show children
Current behaviour - stops the animation.
Because of it I have to create 2 trees - a shimmer tree with fake widgets and a tree with actual widgets

Please consider using enabled to show/hide shimmering, and period: 0 is for stopping the animation
Or I'd suggest to deprecate parameter enabled as non-obvious, and introduce visible: true/false and animation: true/false instead.
@subzero911 I vote for that, really confusing and make you double the widgets.
any updates on this?
this feature would be too much. stop animation doesn't make much sense.
this feature would be too much. stop animation doesn't make much sense.
I am agree with this point. Then let's return to the idea I suggested in a start post. Rename enabled to visible and make use it to show/hide shimmer effect and those people who wants to stop animation for some reason will use period: 0.