AnimatedReorderable constructor

const AnimatedReorderable({
  1. Key? key,
  2. required KeyGetter keyGetter,
  3. BoolGetter? draggableGetter,
  4. BoolGetter? reorderableGetter,
  5. ReorderCallback? onReorder,
  6. AxisDirectionGetter? swipeToRemoveDirectionGetter,
  7. SpringDescription swipeToRemoveSpringDescription = defaultFlingSpringDescription,
  8. double swipeToRemoveExtent = defaultSwipeToRemoveExtent,
  9. double swipeToRemoveVelocity = defaultSwipeToRemoveVelocity,
  10. SwipeToRemoveCallback? onSwipeToRemove,
  11. AnimatedItemDecorator? draggedItemDecorator,
  12. Duration draggedItemDecorationAnimationDuration = defaultDraggedItemDecorationAnimationDuration,
  13. AnimatedItemDecorator? swipedItemDecorator,
  14. Duration swipedItemDecorationAnimationDuration = defaultSwipedItemDecorationAnimationDuration,
  15. Duration motionAnimationDuration = defaultMotionAnimationDuration,
  16. Curve motionAnimationCurve = defaultMotionAnimationCurve,
  17. double autoScrollerVelocityScalar = defaultAutoScrollVelocityScalar,
  18. ItemDragStartCallback? onItemDragStart,
  19. ItemDragUpdateCallback? onItemDragUpdate,
  20. ItemDragEndCallback? onItemDragEnd,
  21. ItemDragStartCallback? onItemSwipeStart,
  22. ItemDragUpdateCallback? onItemSwipeUpdate,
  23. ItemDragEndCallback? onItemSwipeEnd,
  24. MultiDragGestureRecognizerFactory? reorderGestureRecognizerFactory,
})

Implementation

const AnimatedReorderable({
  super.key,
  required this.keyGetter,
  this.draggableGetter,
  this.reorderableGetter,
  this.onReorder,
  this.swipeToRemoveDirectionGetter,
  this.swipeToRemoveSpringDescription = defaultFlingSpringDescription,
  this.swipeToRemoveExtent = defaultSwipeToRemoveExtent,
  this.swipeToRemoveVelocity = defaultSwipeToRemoveVelocity,
  this.onSwipeToRemove,
  this.draggedItemDecorator,
  this.draggedItemDecorationAnimationDuration =
      defaultDraggedItemDecorationAnimationDuration,
  this.swipedItemDecorator,
  this.swipedItemDecorationAnimationDuration =
      defaultSwipedItemDecorationAnimationDuration,
  this.motionAnimationDuration = defaultMotionAnimationDuration,
  this.motionAnimationCurve = defaultMotionAnimationCurve,
  this.autoScrollerVelocityScalar = defaultAutoScrollVelocityScalar,
  this.onItemDragStart,
  this.onItemDragUpdate,
  this.onItemDragEnd,
  this.onItemSwipeStart,
  this.onItemSwipeUpdate,
  this.onItemSwipeEnd,
  this.reorderGestureRecognizerFactory,
});