St8AnimationState constructor

St8AnimationState({
  1. Duration? duration = const Duration(seconds: 1),
  2. double? x,
  3. double? y,
  4. double scale = 1,
  5. double opacity = 1,
  6. double turns = 0,
  7. Curve? positionCurve,
  8. Curve? scaleCurve,
  9. Curve? opacityCurve,
  10. Curve? rotationCurve,
  11. Alignment? scaleAlignment,
  12. Alignment? rotationAlignment,
  13. Function? onFinish,
  14. Function? onStart,
})

Implementation

St8AnimationState({
  this.duration = const Duration(seconds: 1),
  this.x,
  this.y,
  this.scale = 1,
  this.opacity = 1,
  this.turns = 0,
  this.positionCurve,
  this.scaleCurve,
  this.opacityCurve,
  this.rotationCurve,
  this.scaleAlignment,
  this.rotationAlignment,
  this.onFinish,
  this.onStart,
});