PhloxAnimations.opacity constructor
const
PhloxAnimations.opacity({
- Key? key,
- required Duration duration,
- required Widget? child,
- PhloxAnimationsController? controller,
- Duration? reverseDuration,
- bool? loop,
- bool? auto,
- Duration? wait,
- double? fromX,
- double? fromY,
- double? toX,
- double? toY,
- required double? fromOpacity,
- required double? toOpacity,
- double? fromScale,
- double? toScale,
- double? fromDegrees,
- double? toDegrees,
- Offset? rotateOffset,
- Curve? moveXCurve,
- Curve? moveYCurve,
- Curve? scaleCurve,
- Curve? opacityCurve,
- Curve? rotateCurve,
- Curve? colorChangeCurve,
- _PhloxAnimationsProgress? progress,
- VoidCallback? onTap,
Implementation
const PhloxAnimations.opacity({
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,
required this.fromOpacity,
required this.toOpacity,
this.fromScale,
this.toScale,
this.fromDegrees,
this.toDegrees,
this.rotateOffset,
this.moveXCurve,
this.moveYCurve,
this.scaleCurve,
this.opacityCurve,
this.rotateCurve,
this.colorChangeCurve,
this.progress,
this.onTap,
}) : super(key: key);