Flip constructor

const Flip({
  1. Key? key,
  2. required FlipController controller,
  3. required Widget front,
  4. required Widget back,
  5. Duration flipDuration = const Duration(milliseconds: 666),
  6. Axis flipDirection = Axis.horizontal,
})

Implementation

const Flip({
  Key? key,
  required this.controller,
  required this.front,
  required this.back,
  this.flipDuration = const Duration(milliseconds: 666),
  this.flipDirection = Axis.horizontal,
}) : super(key: key);