FlipEffect constructor

const FlipEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. double? begin,
  5. double? end,
  6. dynamic alignment,
  7. dynamic perspective,
  8. dynamic direction,
})

Implementation

const FlipEffect({
  Duration? delay,
  Duration? duration,
  Curve? curve,
  double? begin,
  double? end,
  alignment,
  perspective,
  direction,
})  : alignment = alignment ?? Alignment.center,
      perspective = perspective ?? defaultPerspective,
      direction = direction ?? defaultAxis,
      super(
        delay: delay,
        duration: duration,
        curve: curve,
        begin: begin ?? (end == null ? defaultValue : neutralValue),
        end: end ?? neutralValue,
      );