Skip to content

kobutri/automatic_spring_animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automatic_spring_animation

this package animates widgets with springs when their location changes

Getting Started

Using this project should be fairly simple.
Just wrap you widget in a AnimtedSpring and you are ready to move your widget around without jarring layout changes.
You might need to provide a key to ensure a stable indenty.
If you want customize the spring just supply a SpringDescription to the spring parameter.
You can also provide a custom shouldAnimate callback, to customize when the the widget should be animated, just snap to the new position (same behaviour as without AnimatedSpring) or freeze at the current position.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages