CircularRotationModel constructor
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,
Implementation
CircularRotationModel({
this.visibleFirstCircle = true,
this.visibleSecondCircle = true,
this.visibleThirdCircle = true,
this.firstCircleRadius,
this.secondCircleRadius,
this.thirdCircleRadius,
this.firstCircleRadians = 0,
this.secondCircleRadians = 0.5,
this.thirdCircleRadians = 1,
this.firstCircleFill = false,
this.secondCircleFill = false,
this.thirdCircleFill = false,
this.firstCircleFillColor = Colors.black,
this.secondCircleFillColor = Colors.black,
this.thirdCircleFillColor = Colors.black,
this.firstCircleWidgets,
this.secondCircleWidgets,
this.thirdCircleWidgets,
this.centerWidget,
this.defaultCircleStrokeColor = AppColors.black,
this.firstCircleStrokeColor,
this.secondCircleStrokeColor,
this.thirdCircleStrokeColor,
this.defaultCircleStrokeWidth = 1,
this.firstCircleStrokeWidth,
this.secondCircleStrokeWidth,
this.thirdCircleStrokeWidth,
this.startAnimation = false,
this.repeatAnimation = false,
this.defaultCircleAnimationDuration = 0,
this.firstCircleAnimationDuration,
this.secondCircleAnimationDuration,
this.thirdCircleAnimationDuration,
this.curve = Curves.linear,
this.onFirstAnimationEnd,
this.onSecondAnimationEnd,
this.onThirdAnimationEnd,
Key? key,
});