DraggableCard constructor
DraggableCard({
- Widget? card,
- bool isDraggable = true,
- dynamic onSlideUpdate(
- double distance
- dynamic onSlideOutComplete(
- SlideDirection? direction
- SlideDirection? slideTo,
- dynamic onSlideRegionUpdate(
- SlideRegion? slideRegion
- bool upSwipeAllowed = true,
- bool isBackCard = false,
- 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});