DraggableCard constructor

DraggableCard({
  1. Widget? card,
  2. bool isDraggable = true,
  3. dynamic onSlideUpdate(
    1. double distance
    )?,
  4. dynamic onSlideOutComplete(
    1. SlideDirection? direction
    )?,
  5. SlideDirection? slideTo,
  6. dynamic onSlideRegionUpdate(
    1. SlideRegion? slideRegion
    )?,
  7. bool upSwipeAllowed = true,
  8. bool isBackCard = false,
  9. EdgeInsets padding = EdgeInsets.zero,
})

Implementation

DraggableCard(
    {this.card,
    this.isDraggable = true,
    this.onSlideUpdate,
    this.onSlideOutComplete,
    this.slideTo,
    this.onSlideRegionUpdate,
    this.upSwipeAllowed = true,
    this.isBackCard = false,
    this.padding = EdgeInsets.zero});