-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to animate change in steps. #4
Comments
Hi @barapa , What do you mean specifically? How would you like this feature to work? Could you give me some more details about what you had in mind? |
For instance, entering a new step would animate the step from it's unselected size and color to it's selected size and color. Perhaps by the color changing in the directing of the step progress |
Do you mean for instance that all the other steps should shrink while the new step is added? Like opening some space for the new step by moving/animating the others? Would you like to be able to use a custom |
Hey @SandroMaglione, I would also like to have this feature, |
Hi @naamapps I see. It is definitely possible to do it. I would like to make it as customizable as possible, using a user-defined Thanks for the suggestion 👍 |
there are some news? is it possible? |
Any updates here? Great package and would love to get this animation to work? Is it possible to do outside of the widget? Maybe with an animated container or something? |
Any chance to get this feature? |
It's not available right?? |
I get some decent results using TweenAnimationBuilder: TweenAnimationBuilder(
duration: Duration(seconds: 1),
curve: Curves.easeOutCubic,
tween: Tween<double>(
begin: 0.0,
end: yourCurrentValue, // current, NOT max value
),
child: const SizedBox.shrink(),
builder: (_, value, __) {
return StepProgressIndicator(
totalSteps: 10000, // should be high value for smoother transitions
currentStep: value.toInt(),
// ...
);
},
);
Caviats I discovered so far:
animate.mov |
No description provided.
The text was updated successfully, but these errors were encountered: