circular_motion
0.0.6, released 3 years ago by lewiseman.com
Widget that arranges children in a circle and lets them rotate via scrolling
What it does
CircularMotion places a list of widgets around a central widget in a circular layout. The items can be scrolled to rotate around the center, optionally continuing to spin after the gesture ends.
AI-written summary of version 0.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a circular arrangement of widgets that can be interacted with via scrolling
- You want a simple, declarative way to create a rotating circular menu or gallery
- You need a customizable center widget and optional post-gesture spin
Skip it when
- You require complex physics-based motion beyond simple rotation
- You need high-performance handling of a very large number of children
- You need integration with other animation libraries that require custom controllers
Strengths
- Easy to integrate with a single line of code
- Supports both list and builder constructors
- Provides optional post-gesture spin and gesture behavior customization
Weaknesses
- Limited to circular motion only
- No advanced physics or animation customization beyond basic rotation
- Documentation is minimal and may lack performance guidance
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
CircularMotion(
centerWidget: Text('Center'),
children: [
Text('0'),
Text('1'),
Text('2'),
Text('3'),
],
)Alternatives
Packages that do the same job and could replace circular_motion.
- flutter_moving_background
Flutter package for animated moving backgrounds like gradients, particles, waves and rain.
65Compare - fab_circular_menu_plus
A Flutter package to create a circular menu using a Floating Action Button.
53Compare - polygon
Easily draw and clip polygon shapes in Flutter.
45Compare - country_pickers
Provides country picker widgets with flags, ISO codes and phone prefixes.
50Compare