VxFlip constructor
const
VxFlip({
- Key? key,
- required Widget front,
- required Widget back,
- Duration duration = const Duration(milliseconds: 300),
- VoidCallback? onFlip,
- VxFlipOnFlipCallback? onFlipDone,
- Axis direction = Axis.horizontal,
- VxFlipCallback? onVxFlipState,
- bool touchFlip = true,
- bool initialFront = true,
- Alignment? alignment = Alignment.center,
- 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,
});