St8AnimationState constructor
St8AnimationState({
- Duration? duration = const Duration(seconds: 1),
- double? x,
- double? y,
- double scale = 1,
- double opacity = 1,
- double turns = 0,
- Curve? positionCurve,
- Curve? scaleCurve,
- Curve? opacityCurve,
- Curve? rotationCurve,
- Alignment? scaleAlignment,
- Alignment? rotationAlignment,
- Function? onFinish,
- 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,
});