FlipTransition constructor

const FlipTransition({
  1. Key? key,
  2. required Animation<double> animation,
  3. Alignment alignment = Alignment.center,
  4. Axis axis = Axis.horizontal,
  5. Widget? child,
})

Creates a flip transition.

The animation argument must not be null.

Implementation

const FlipTransition({
  super.key,
  required Animation<double> animation,
  this.alignment = Alignment.center,
  this.axis = Axis.horizontal,
  this.child,
}) : super(listenable: animation);