builder static method
PhloxAnimationsBuilder
builder({
- 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,
- Offset? rotateOffset,
- 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 PhloxAnimationsBuilder builder({
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,
Offset? rotateOffset,
Curve? moveXCurve,
Curve? moveYCurve,
Curve? scaleCurve,
Curve? opacityCurve,
Curve? rotateCurve,
Curve? colorChangeCurve,
_PhloxAnimationsProgress? progress,
Color? fromColor,
Color? toColor,
double? fromRadius,
double? toRadius,
Curve? radiusCurve,
}) =>
PhloxAnimationsBuilder(
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,
rotateOffset: rotateOffset,
moveXCurve: moveXCurve,
moveYCurve: moveYCurve,
scaleCurve: scaleCurve,
opacityCurve: opacityCurve,
rotateCurve: rotateCurve,
colorChangeCurve: colorChangeCurve,
progress: progress,
fromColor: fromColor,
toColor: toColor,
fromRadius: fromRadius,
toRadius: toRadius,
radiusCurve: radiusCurve,
);