animated_wrap library

Classes

AnimatedWrap
An animated version of Wrap that smoothly transitions children when their positions change.
AnimatedWrapParentData
Parent data for use with AnimatedWrapRender.
AnimatedWrapRender
Displays its children in multiple horizontal or vertical runs.
AnimatedWrapState
Insertion

Enums

AnimatedWrapCrossAlignment
Who AnimatedWrap should align children within a run in the cross axis.

Functions

delayAnimation(Animation<double> animation, {required Duration by, required Duration total}) Animation<double>
delayedAnimation(Animation<double> animation, {required Duration duration, required Duration within}) Animation<double>
returns an animation with duration broader, but doesn't raise from 0 until broader - duration, meaning that it will appear as if it runs for duration after a delay. We do it this way instead of specifying {delay, duration} because flutter requires the duration to have been decided generally before you receive an animation, so this ends up being more succinct/parametizable.
delayedCurve({required Duration by, required Duration total, Curve curve = Curves.linear}) Interval
distributeWrapSpace(WrapAlignment alignment, double freeSpace, double itemSpacing, int itemCount, bool flipped) → (double, double)