VxFlip constructor

const VxFlip({
  1. Key? key,
  2. required Widget front,
  3. required Widget back,
  4. Duration duration = const Duration(milliseconds: 300),
  5. VoidCallback? onFlip,
  6. VxFlipOnFlipCallback? onFlipDone,
  7. Axis direction = Axis.horizontal,
  8. VxFlipCallback? onVxFlipState,
  9. bool touchFlip = true,
  10. bool initialFront = true,
  11. Alignment? alignment = Alignment.center,
  12. VxFill fill = VxFill.front,
})

Implementation

const VxFlip({
  super.key,
  required this.front,
  required this.back,
  this.duration = const Duration(milliseconds: 300),
  this.onFlip,
  this.onFlipDone,
  this.direction = Axis.horizontal,
  this.onVxFlipState,
  this.touchFlip = true,
  this.initialFront = true,
  this.alignment = Alignment.center,
  this.fill = VxFill.front,
});