CircularRotationModel constructor

CircularRotationModel({
  1. bool visibleFirstCircle = true,
  2. bool visibleSecondCircle = true,
  3. bool visibleThirdCircle = true,
  4. double? firstCircleRadius,
  5. double? secondCircleRadius,
  6. double? thirdCircleRadius,
  7. double firstCircleRadians = 0,
  8. double secondCircleRadians = 0.5,
  9. double thirdCircleRadians = 1,
  10. bool firstCircleFill = false,
  11. bool secondCircleFill = false,
  12. bool thirdCircleFill = false,
  13. Color firstCircleFillColor = Colors.black,
  14. Color secondCircleFillColor = Colors.black,
  15. Color thirdCircleFillColor = Colors.black,
  16. List<Widget>? firstCircleWidgets,
  17. List<Widget>? secondCircleWidgets,
  18. List<Widget>? thirdCircleWidgets,
  19. Widget? centerWidget,
  20. Color defaultCircleStrokeColor = AppColors.black,
  21. Color? firstCircleStrokeColor,
  22. Color? secondCircleStrokeColor,
  23. Color? thirdCircleStrokeColor,
  24. double defaultCircleStrokeWidth = 1,
  25. double? firstCircleStrokeWidth,
  26. double? secondCircleStrokeWidth,
  27. double? thirdCircleStrokeWidth,
  28. bool startAnimation = false,
  29. bool repeatAnimation = false,
  30. int defaultCircleAnimationDuration = 0,
  31. int? firstCircleAnimationDuration,
  32. int? secondCircleAnimationDuration,
  33. int? thirdCircleAnimationDuration,
  34. Curve curve = Curves.linear,
  35. Function? onFirstAnimationEnd,
  36. Function? onSecondAnimationEnd,
  37. Function? onThirdAnimationEnd,
  38. 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,
});