PhloxAnimations.rotate constructor

const PhloxAnimations.rotate({
  1. Key? key,
  2. required Duration duration,
  3. required Widget? child,
  4. PhloxAnimationsController? controller,
  5. Duration? reverseDuration,
  6. bool? loop,
  7. bool? auto,
  8. Duration? wait,
  9. double? fromX,
  10. double? fromY,
  11. double? toX,
  12. double? toY,
  13. double? fromOpacity,
  14. double? toOpacity,
  15. double? fromScale,
  16. double? toScale,
  17. required double? fromDegrees,
  18. required double? toDegrees,
  19. Offset? rotateOffset,
  20. Curve? moveXCurve,
  21. Curve? moveYCurve,
  22. Curve? scaleCurve,
  23. Curve? opacityCurve,
  24. Curve? rotateCurve,
  25. Curve? colorChangeCurve,
  26. _PhloxAnimationsProgress? progress,
  27. VoidCallback? onTap,
})

Implementation

const PhloxAnimations.rotate({
  Key? key,
  required this.duration,
  required this.child,
  this.controller,
  this.reverseDuration,
  this.loop,
  this.auto,
  this.wait,
  this.fromX,
  this.fromY,
  this.toX,
  this.toY,
  this.fromOpacity,
  this.toOpacity,
  this.fromScale,
  this.toScale,
  required this.fromDegrees,
  required this.toDegrees,
  this.rotateOffset,
  this.moveXCurve,
  this.moveYCurve,
  this.scaleCurve,
  this.opacityCurve,
  this.rotateCurve,
  this.colorChangeCurve,
  this.progress,
  this.onTap,
}) : super(key: key);