FlipCard constructor

const FlipCard({
  1. Key? key,
  2. Color? focusColor,
  3. Color? splashColor,
  4. bool onTapFlipping = false,
  5. bool disableSplashEffect = false,
  6. required Widget frontWidget,
  7. required Widget backWidget,
  8. required FlipCardController controller,
  9. FlipAxis axis = FlipAxis.vertical,
  10. required RotateSide rotateSide,
  11. Duration animationDuration = const Duration(milliseconds: 800),
})

Implementation

const FlipCard({
  Key? key,
  this.focusColor,
  this.splashColor,
  this.onTapFlipping = false,
  this.disableSplashEffect = false,
  required this.frontWidget,
  required this.backWidget,
  required this.controller,
  this.axis = FlipAxis.vertical,
  required this.rotateSide,
  this.animationDuration = const Duration(milliseconds: 800),
}) : super(key: key);