UFlipCard constructor
const
UFlipCard({
- required Widget front,
- required Widget back,
- Key? key,
- int speed = 500,
- VoidCallback? onFlip,
- UBoolCallback? onFlipDone,
- UFlipDirection direction = UFlipDirection.horizontal,
- UFlipCardController? controller,
- bool flipOnTouch = true,
- Alignment alignment = Alignment.center,
- UFill fill = UFill.none,
- UCardSide side = UCardSide.front,
Implementation
const UFlipCard({
required this.front,
required this.back,
super.key,
this.speed = 500,
this.onFlip,
this.onFlipDone,
this.direction = UFlipDirection.horizontal,
this.controller,
this.flipOnTouch = true,
this.alignment = Alignment.center,
this.fill = UFill.none,
this.side = UCardSide.front,
});