CardBodyWidget constructor

const CardBodyWidget({
  1. Key? key,
  2. required CardModel model,
  3. required ValueNotifier<double> listenablePositionTop,
  4. required ValueNotifier<double> listenableScale,
  5. required double positionTop,
  6. required double currentOpacity,
  7. required double dragAnimationValueY,
  8. required double scale,
  9. double? dismissedAnimationValue,
  10. required dynamic handleVerticalEnd(
    1. DragEndDetails
    ),
  11. required dynamic handleVerticalUpdate(
    1. DragUpdateDetails
    ),
  12. required dynamic onCardTap(
    1. CardModel
    )?,
})

Implementation

const CardBodyWidget({
  super.key,
  required this.model,
  required this.listenablePositionTop,
  required this.listenableScale,
  required this.positionTop,
  required this.currentOpacity,
  required this.dragAnimationValueY,
  required this.scale,
  this.dismissedAnimationValue,
  required this.handleVerticalEnd,
  required this.handleVerticalUpdate,
  required this.onCardTap,
});