fly_motion
1.0.0, released 2 years ago by an unverified publisher
Provides smooth flying animations between widgets or screen coordinates.
What it does
FlyMotion lets you animate a widget from one position to another using GlobalKeys or explicit offsets. It renders the animation in an overlay with configurable duration, curvature, and repeat settings.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a visual “fly” effect between two UI elements, such as adding items to a cart
- You want to animate objects based on touch coordinates or custom paths
Skip it when
- You only need simple built‑in Flutter transitions (e.g., FadeTransition)
- You require physics‑based or gesture‑driven animations beyond a fixed Bezier curve
Strengths
- Minimal API, easy to drop in
- Works across all Flutter platforms
- Supports both widget‑key and coordinate‑based launches
Weaknesses
- Relies on overlay_support as a hard dependency
- Limited to quadratic Bezier curves, no physics simulation
- No built‑in support for complex sequencing beyond repeatCount
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Wrap the app with FlyMotionOverlaySupport as shown in the README
FlyMotion.launchFromKeys(
originKey: originKey,
destinationKey: destinationKey,
widget: (i) => Icon(Icons.star, color: Colors.amber),
duration: Duration(milliseconds: 800),
);Alternatives
Packages that do the same job and could replace fly_motion.
- flutter_animate
Offers a broader set of declarative animation utilities without needing an overlay wrapper
70Compare - lottie
Provides rich, pre‑designed animations and can be used for similar visual effects without custom code
96Compare
Works with
Packages commonly used together with fly_motion: ones it builds on, ones built on it, and its own family.