FlipCard constructor

const FlipCard({
  1. Key? key,
  2. required Widget frontCard,
  3. required Widget backCard,
  4. FlipCardController? controller,
  5. RotateFrom rotateFrom = RotateFrom.left,
  6. Duration duration = const Duration(milliseconds: 500),
  7. bool tapToFlipping = false,
  8. Color? focusColor,
  9. Color? splashColor,
  10. bool disableSplashEffect = false,
})

Implementation

const FlipCard({
  super.key,
  required this.frontCard,
  required this.backCard,
  this.controller,
  this.rotateFrom = RotateFrom.left,
  this.duration = const Duration(milliseconds: 500),
  this.tapToFlipping = false,
  this.focusColor,
  this.splashColor,
  this.disableSplashEffect = false,
});