FlipCard constructor
const
FlipCard({
- Key? key,
- required Widget front,
- required Widget back,
- Duration duration = const Duration(milliseconds: 300),
- VoidCallback? onFlip,
- FlipCardOnFlipCallback? onFlipDone,
- Axis direction = Axis.horizontal,
- FlipCardCallback? onFlipCardState,
- bool touchFlip = true,
- bool initialFront = true,
- Alignment alignment = Alignment.center,
- Fill fill = Fill.front,
Implementation
const FlipCard({
super.key,
required this.front,
required this.back,
this.duration = const Duration(milliseconds: 300),
this.onFlip,
this.onFlipDone,
this.direction = Axis.horizontal,
this.onFlipCardState,
this.touchFlip = true,
this.initialFront = true,
this.alignment = Alignment.center,
this.fill = Fill.front,
});