custom static method
PhloxCustomAnimations
custom({
- Key? key,
- required Duration duration,
- required PhloxAnimationsWidgetBuilder builder,
- bool? loop,
- bool? auto,
- Duration? reverseDuration,
- Duration? wait,
- PhloxAnimationsController? controller,
- double? fromX,
- double? fromY,
- double? toX,
- double? toY,
- double? fromOpacity,
- double? toOpacity,
- double? fromScale,
- double? toScale,
- double? fromDegrees,
- double? toDegrees,
- Curve? moveXCurve,
- Curve? moveYCurve,
- Curve? scaleCurve,
- Curve? opacityCurve,
- Curve? rotateCurve,
- Curve? colorChangeCurve,
- _PhloxAnimationsProgress? progress,
- Color? fromColor,
- Color? toColor,
- double? fromRadius,
- double? toRadius,
- Curve? radiusCurve,
Implementation
static PhloxCustomAnimations custom({
Key? key,
required Duration duration,
required PhloxAnimationsWidgetBuilder builder,
bool? loop,
bool? auto,
Duration? reverseDuration,
Duration? wait,
PhloxAnimationsController? controller,
double? fromX,
double? fromY,
double? toX,
double? toY,
double? fromOpacity,
double? toOpacity,
double? fromScale,
double? toScale,
double? fromDegrees,
double? toDegrees,
Curve? moveXCurve,
Curve? moveYCurve,
Curve? scaleCurve,
Curve? opacityCurve,
Curve? rotateCurve,
Curve? colorChangeCurve,
_PhloxAnimationsProgress? progress,
Color? fromColor,
Color? toColor,
double? fromRadius,
double? toRadius,
Curve? radiusCurve,
}) =>
PhloxCustomAnimations(
key: key,
duration: duration,
builder: builder,
loop: loop,
auto: auto,
reverseDuration: reverseDuration,
wait: wait,
controller: controller,
fromX: fromX,
fromY: fromY,
toX: toX,
toY: toY,
fromOpacity: fromOpacity,
toOpacity: toOpacity,
fromScale: fromScale,
toScale: toScale,
fromDegrees: fromDegrees,
toDegrees: toDegrees,
moveXCurve: moveXCurve,
moveYCurve: moveYCurve,
scaleCurve: scaleCurve,
opacityCurve: opacityCurve,
rotateCurve: rotateCurve,
colorChangeCurve: colorChangeCurve,
progress: progress,
fromColor: fromColor,
toColor: toColor,
fromRadius: fromRadius,
toRadius: toRadius,
radiusCurve: radiusCurve,
);