CircularRotationModel class
Constructors
-
CircularRotationModel({bool visibleFirstCircle = true, bool visibleSecondCircle = true, bool visibleThirdCircle = true, double? firstCircleRadius, double? secondCircleRadius, double? thirdCircleRadius, double firstCircleRadians = 0, double secondCircleRadians = 0.5, double thirdCircleRadians = 1, bool firstCircleFill = false, bool secondCircleFill = false, bool thirdCircleFill = false, Color firstCircleFillColor = Colors.black, Color secondCircleFillColor = Colors.black, Color thirdCircleFillColor = Colors.black, List<
Widget> ? firstCircleWidgets, List<Widget> ? secondCircleWidgets, List<Widget> ? thirdCircleWidgets, Widget? centerWidget, Color defaultCircleStrokeColor = AppColors.black, Color? firstCircleStrokeColor, Color? secondCircleStrokeColor, Color? thirdCircleStrokeColor, double defaultCircleStrokeWidth = 1, double? firstCircleStrokeWidth, double? secondCircleStrokeWidth, double? thirdCircleStrokeWidth, bool startAnimation = false, bool repeatAnimation = false, int defaultCircleAnimationDuration = 0, int? firstCircleAnimationDuration, int? secondCircleAnimationDuration, int? thirdCircleAnimationDuration, Curve curve = Curves.linear, Function? onFirstAnimationEnd, Function? onSecondAnimationEnd, Function? onThirdAnimationEnd, Key? key})
Properties
- centerWidget → Widget?
-
Displays the widget at center of circle.
It contains the Widget.
final
- curve → Curve
-
Curves, a collection of common animation easing curves.
CurveTween, which can be used to apply a Curve to an Animation.
final
- defaultCircleAnimationDuration → int
-
Set the animation duration in seconds for all circles.
This parameter affects when startAnimation is true.
final
- defaultCircleStrokeColor → Color
-
Change the all circles stroke(line) color.
It contains Color value.
final
- defaultCircleStrokeWidth → double
-
Change the all circles stroke(line) width.
It contains double value.
Default value is 1.0
final
- firstCircleAnimationDuration → int?
-
Set the animation duration in seconds for the first circle.
This parameter affects when startAnimation is true.
final
- firstCircleFill → bool
-
final
- firstCircleFillColor → Color
-
final
- firstCircleRadians → double
-
Displays the first circle widgets based on radians calculation.
final
- firstCircleRadius ↔ double?
-
Displays the first circle based on radius.
Radius starts from center.
getter/setter pair
- firstCircleStrokeColor → Color?
-
Change the first circle stroke(line) color.
It contains Color value.
Default value is Colors.black
final
- firstCircleStrokeWidth → double?
-
Change the first circle stroke(line) width.
It contains double value.
Default value is 1.0
final
-
firstCircleWidgets
→ List<
Widget> ? -
Displays the first circle widgets.
It contains the List of Widgets.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onFirstAnimationEnd → Function?
-
onFirstAnimationEnd Once you set this then you will get the callback once first circle is completes the round.
final
- onSecondAnimationEnd → Function?
-
onSecondAnimationEnd Once you set this then you will get the callback once first circle is completes the round.
final
- onThirdAnimationEnd → Function?
-
onThirdAnimationEnd Once you set this then you will get the callback once first circle is completes the round.
final
- repeatAnimation → bool
-
Repeat the animation in circular rotation widget.
This parameter affects when startAnimation is true.
it contains bool value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondCircleAnimationDuration → int?
-
Set the animation duration in seconds for the second circle.
This parameter affects when startAnimation is true.
final
- secondCircleFill → bool
-
final
- secondCircleFillColor → Color
-
final
- secondCircleRadians → double
-
Displays the second circle widgets based on radians calculation.
final
- secondCircleRadius ↔ double?
-
Displays the second circle based on radius.
Radius starts from center.
getter/setter pair
- secondCircleStrokeColor → Color?
-
Change the second circle stroke(line) color.
It contains Color value.
Default value is Colors.black
final
- secondCircleStrokeWidth → double?
-
Change the second circle stroke(line) width.
It contains double value.
Default value is 1.0
final
-
secondCircleWidgets
→ List<
Widget> ? -
Displays the second circle widgets.
It contains the List of Widgets.
final
- startAnimation → bool
-
Create the animation in circular rotation.
it contains bool value:
final
- thirdCircleAnimationDuration → int?
-
Set the animation duration in seconds for the third circle.
This parameter affects when startAnimation is true.
final
- thirdCircleFill → bool
-
final
- thirdCircleFillColor → Color
-
final
- thirdCircleRadians → double
-
Displays the third circle widgets based on radians calculation.
final
- thirdCircleRadius ↔ double?
-
Displays the third circle based on radius.
Radius starts from center.
getter/setter pair
- thirdCircleStrokeColor → Color?
-
Change the third circle stroke(line) color.
It contains Color value.
Default value is Colors.black
final
- thirdCircleStrokeWidth → double?
-
Change the third circle stroke(line) width.
It contains double value.
Default value is 1.0
final
-
thirdCircleWidgets
→ List<
Widget> ? -
Displays the third circle widgets.
It contains the List of Widgets.
final
- visibleFirstCircle → bool
-
Visibility of first circle.
It contains bool value.
final
- visibleSecondCircle → bool
-
Visibility of second circle.
It contains bool value.
final
- visibleThirdCircle → bool
-
Visibility of third circle.
It contains bool value.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited