Skip to content
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 support for size tweens (SizedBox + FractionallySizedBox) #68

Open
esDotDev opened this issue Feb 24, 2023 · 1 comment
Open

Add support for size tweens (SizedBox + FractionallySizedBox) #68

esDotDev opened this issue Feb 24, 2023 · 1 comment

Comments

@esDotDev
Copy link
Contributor

It would be nice to be able to tween the actual size of things, probably using SizedBox and FractionallySizedBox internally:

Button().animate().width(begin: 40, end: 200);
Button().animate().size(begin: Offset.zero, end: Offset(50, 100);

Button().animate().widthPct(begin: .2, end: 1);
Button().animate().sizePct(begin: Offset.zero, end: Offset(1, 1));
@Suprndm
Copy link

Suprndm commented Jun 24, 2023

+1
Would love this, because with Scale on a single axis, it mess-up the aspect when using round corners and text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants