SwipeCard constructor

const SwipeCard({
  1. Key? key,
  2. required dynamic onSwipe(
    1. double dx,
    2. double dy,
    3. DismissDirection,
    4. Duration duration,
    )?,
  3. bool swipable = false,
  4. required AnimationController simulationSwiper,
  5. SwipeCardController? controller,
  6. Widget? child,
  7. dynamic onPanUpdate(
    1. double dx,
    2. double dy,
    3. bool trustSimulationRunning
    )?,
})

Implementation

const SwipeCard({
  Key? key,
  required this.onSwipe,
  this.swipable = false,
  required this.simulationSwiper,
  this.controller,
  this.child,
  this.onPanUpdate,
}) : super(key: key);