custom static method

PhloxCustomAnimations custom({
  1. Key? key,
  2. required Duration duration,
  3. required PhloxAnimationsWidgetBuilder builder,
  4. bool? loop,
  5. bool? auto,
  6. Duration? reverseDuration,
  7. Duration? wait,
  8. PhloxAnimationsController? controller,
  9. double? fromX,
  10. double? fromY,
  11. double? toX,
  12. double? toY,
  13. double? fromOpacity,
  14. double? toOpacity,
  15. double? fromScale,
  16. double? toScale,
  17. double? fromDegrees,
  18. double? toDegrees,
  19. Curve? moveXCurve,
  20. Curve? moveYCurve,
  21. Curve? scaleCurve,
  22. Curve? opacityCurve,
  23. Curve? rotateCurve,
  24. Curve? colorChangeCurve,
  25. _PhloxAnimationsProgress? progress,
  26. Color? fromColor,
  27. Color? toColor,
  28. double? fromRadius,
  29. double? toRadius,
  30. 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,
    );