Circular rotation, It is fully customizable package which allow you to set custom widget in circular manner. It has provision for moving like solar system. There is customizable properties like speed of each round, round color, position of circular widget etc.
CircularRotation(
defaultCircleStrokeWidth: 0.2,
defaultCircleStrokeColor: Colors.white,
startAnimation: true,
repeatAnimation: true,
firstCircleAnimationDuration: 5000,
secondCircleAnimationDuration: 7000,
thirdCircleAnimationDuration: 10000,
centerWidget: Image.asset(
CENTER_IMAGE,
width: 96,
height: 96,
),
firstCircleWidgets: [],
secondCircleWidgets: [],
thirdCircleWidgets: [],
)
- Visibility of first circle.
- It contains bool value.
- true = visible,
- false = invisible.
- Visibility of second circle.
- It contains bool value.
- true = visible,
- false = invisible.
- Visibility of third circle.
- It contains bool value.
- true = visible,
- false = invisible.
- Displays the first circle based on radius.
- Radius starts from center.
- It contains the double value.
- Displays the second circle based on radius.
- Radius starts from center.
- It contains the double value.
- Displays the third circle based on radius.
- Radius starts from center.
- It contains the double value.
- Displays the first circle widgets based on radians calculation.
- It contains the double value.
- Displays the second circle widgets based on radians calculation.
- It contains the double value.
- Displays the third circle widgets based on radians calculation.
- It contains the double value.
- Displays the first circle widgets.
- It contains the List of Widgets.
- Displays the second circle widgets.
- It contains the List of Widgets.
- Displays the third circle widgets.
- It contains the List of Widgets.
- Displays the widget at center of circle.
- It contains the Widget.
- Change the all circles stroke(line) color.
- It contains Color value.
- Default value is
Colors.black
- Change the first circle stroke(line) color.
- It contains Color value.
- Default value is
Colors.black
- Change the second circle stroke(line) color.
- It contains Color value.
- Default value is
Colors.black
- Change the third circle stroke(line) color.
- It contains Color value.
- Default value is
Colors.black
- Change the all circles stroke(line) width.
- It contains double value.
- Default value is
1.0
- Change the first circle stroke(line) width.
- It contains double value.
- Default value is
1.0
- Change the second circle stroke(line) width.
- It contains double value.
- Default value is
1.0
- Change the third circle stroke(line) width.
- It contains double value.
- Default value is
1.0
- Create the animation in Circular Rotation.
- It contains bool value:
true
= display the circular widgets with animationfalse
= display the circular widgets without animation
- Repeat the animation in Circular Rotation.
- This parameter affects when [startAnimation] is true.
- It contains bool value.
true
= repeat the animation.false
= show animation only for one time.
- Set the animation duration in milliseconds for all circles.
- This parameter affects when [startAnimation] is true.
- It contains int value.
- Set the animation duration in milliseconds for the first circle.
- This parameter affects when [startAnimation] is true.
- It contains int value.
- Set the animation duration in milliseconds for the second circle.
- This parameter affects when [startAnimation] is true.
- It contains int value.
- Set the animation duration in milliseconds for the third circle.
- This parameter affects when [startAnimation] is true.
- It contains int value.
- [Curves], a collection of common animation easing curves.
- [CurveTween], which can be used to apply a [Curve] to an [Animation].
- Default value is
Curves.linear
Contribution towards our repository is always welcome, we request contributors to create a pull request to the develop branch only.
It would be great for us if the reporter can share the below things to understand the root cause of the issue.
- Library version
- Code snippet
- Logs if applicable
- Device specification like (Manufacturer, OS version, etc)
- Screenshot/video with steps to reproduce the issue
Circular Rotation is MIT-licensed.
We’d be really happy if you send us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding our work.