FlipAnimation constructor

const FlipAnimation({
  1. Key? key,
  2. Duration? duration,
  3. Duration? delay,
  4. Curve curve = Curves.ease,
  5. FlipAxis flipAxis = FlipAxis.x,
  6. required Widget child,
})

Creates a flip animation that flips its child.

Default value for flipAxis is FlipAxis.x.

The child argument must not be null.

Implementation

const FlipAnimation({
  Key? key,
  this.duration,
  this.delay,
  this.curve = Curves.ease,
  this.flipAxis = FlipAxis.x,
  required this.child,
}) : super(key: key);