fly_to_target 1.2.0
fly_to_target: ^1.2.0 copied to clipboard
A Flutter package for animating multiple widgets flying to target positions simultaneously with customizable paths and effects.
1.2.0 #
Added #
StarTrailDecorationConfig- Stars trailing behind items like game effectscount- Number of stars in the trailstartDistance- Distance from item to first starspreadWidth- Horizontal spread widthtwinkle- Twinkle animation effect
- New example: Star Trail demo
1.1.0 #
Added #
- Pre-phase animation support with
SpreadPhaseConfig- Items can gather at a point and spread before flying to target
- New factory methods:
FlyAnimationConfig.spreadAndFly()- Spread from point then fly to targetFlyAnimationConfig.cart()- Add to cart animation (parabolic + scale + fade)FlyAnimationConfig.heart()- Like/burst animation (bezier + rotation + particles)FlyAnimationConfig.gameReward()- Game reward collection (bezier + rotation + sparkles)
- New example: Spread & Fly demo
Changed #
- Updated existing examples to use new factory methods
1.0.1 #
Changed #
- Converted README videos from mp4 to GIF for pub.dev compatibility
- Updated README version reference to 1.0.0
1.0.0 #
Added #
- First stable release
- Translated all documentation comments to English
- Added 5 custom animation examples:
- Custom Path (spiral, wave, zigzag, bounce)
- Decoration Effects (feather, particle, sparkle)
- Full Effects (adjustable parameters with sliders)
- Heart Burst
- Game Rewards
Removed #
- Empty directories
0.1.0 #
Initial release with the following features:
Core Features #
FlyToTargetControllerfor managing animationsFlyItemandFlyTargetfor defining start/end positions- Support for
GlobalKeyandOffsetbased positioning FlyToTargetScopewidget for easy controller management
Animation Paths #
LinearPathConfig- Straight line movementParabolicPathConfig- Arc/parabola trajectoryBezierPathConfig- Smooth bezier curves with auto-calculationCustomPathConfig- Custom path functions
Effects #
RotationEffect- Rotate widgets during flightScaleEffect- Scale up/down during animationFadeEffect- Fade in/outTrailEffect- Leave a trail behind
Decorations #
FeatherDecorationConfig- Floating feather particlesParticleDecorationConfig- Particle effectsSparkleDecorationConfig- Sparkling starsCustomDecorationConfig- Custom widget builder
Presets #
FlyAnimationConfig.simple()- Basic linear animationFlyAnimationConfig.parabolic()- Arc trajectoryFlyAnimationConfig.bezier()- Smooth curveFlyAnimationConfig.coin()- Full effects for coin animations