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

Animated Gradient #12

Open
yungcloud opened this issue Aug 17, 2019 · 2 comments
Open

Animated Gradient #12

yungcloud opened this issue Aug 17, 2019 · 2 comments

Comments

@yungcloud
Copy link

Hello,
looking for a solution for an animated gradient appbar. I want it to rotate colors. I am working with this currently https://www.paddo.org/flutter-animated-gradients-with-hooks/

I would love to know if simple solution for this using your appbar code

@yungcloud
Copy link
Author

@joostlek
Copy link
Owner

Technically you could. In the Animated_gradient_box you see that it creates a container with a boxdecoration with a gradient value of a function. In theory if you set the Appbars gradient Value to the same function it should work.

(By the way, why would you ever need this in an app bar :P)

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