animate_kit 0.4.0
animate_kit: ^0.4.0 copied to clipboard
State-driven Flutter animation primitives built on flutter_animate. Respects system reduce-motion. Includes entrance, opacity, surface, and skeleton shimmer widgets.
0.4.0 #
New widgets (all respect MediaQuery.disableAnimations):
RotateEntrance: fade + rotate in on mount.ExpandableSection: state-driven expand/collapse of a child's height, keeping the child mounted (and its state preserved) while collapsed.BounceAnimation: repeating vertical bounce for attention effects.AnimatedProgressRing: animates a circular progress ring to its value; reruns on change, with an optional centered child (e.g. a percentage label).
0.3.0 #
New widgets (all respect MediaQuery.disableAnimations):
ScaleEntrance: fade + scale in on mount.StaggeredList: column of children with cascadingFadeEntrancedelays.ScaleToggle: state-driven scale betweenminScaleand1.0.SlideToggle: state-driven slide betweenhiddenOffsetandOffset.zero.PulseAnimation: repeating scale + fade pulse for attention effects.ShakeAnimation: horizontal shake replayed whenevertriggerchanges.CountUpText: animates a number to its value; reruns on change.TypewriterText: reveals text character by character with optional delay.
0.2.0 #
FadeEntrance: addeddirectionparameter (FadeSlideDirectionenum —up,down,left,right,none). Defaults toup(backward-compatible).AnimatedVisibility: addedignorePointerWhenHiddenparameter — wraps withIgnorePointerwhenvisibleis false so hidden content can't receive taps.AnimatedSurface: wideneddecorationtype fromBoxDecorationtoDecoration—ShapeDecorationand custom subclasses now animate correctly.SkeletonBox: addedcoloranddurationparameters with sensible defaults.- Added
topics:topubspec.yamlfor pub.dev discoverability. - Added
example/with a runnable demo app showing all four widgets.
0.1.1 #
AnimatedVisibility: fixed first-mount opacity flash by switching fromflutter_animatetarget-based animation toAnimatedOpacity.AnimatedVisibility: fixed asymmetric easing on hide —Curves.easeOutnow applies identically in both directions.AnimatedVisibility: addedassertto clampminOpacityto[0.0, 1.0].- Hardened tests: scoped widget finders, non-vacuous shimmer check, fixed
FadeEntrancedelay assertion.
0.1.0 #
- Initial extraction from sdraw monorepo.
FadeEntrance: fade + slide-Y entrance animation.AnimatedVisibility: state-driven opacity with configurableminOpacity.AnimatedSurface: state-drivenBoxDecorationtransition.SkeletonBox: repeating shimmer for loading placeholder states.- All widgets respect
MediaQuery.disableAnimations.