AnimatedReorderable constructor
const
AnimatedReorderable({ - Key? key,
- required KeyGetter keyGetter,
- BoolGetter? draggableGetter,
- BoolGetter? reorderableGetter,
- ReorderCallback? onReorder,
- AxisDirectionGetter? swipeToRemoveDirectionGetter,
- SpringDescription swipeToRemoveSpringDescription = defaultFlingSpringDescription,
- double swipeToRemoveExtent = defaultSwipeToRemoveExtent,
- double swipeToRemoveVelocity = defaultSwipeToRemoveVelocity,
- SwipeToRemoveCallback? onSwipeToRemove,
- AnimatedItemDecorator? draggedItemDecorator,
- Duration draggedItemDecorationAnimationDuration = defaultDraggedItemDecorationAnimationDuration,
- AnimatedItemDecorator? swipedItemDecorator,
- Duration swipedItemDecorationAnimationDuration = defaultSwipedItemDecorationAnimationDuration,
- Duration motionAnimationDuration = defaultMotionAnimationDuration,
- Curve motionAnimationCurve = defaultMotionAnimationCurve,
- double autoScrollerVelocityScalar = defaultAutoScrollVelocityScalar,
- ItemDragStartCallback? onItemDragStart,
- ItemDragUpdateCallback? onItemDragUpdate,
- ItemDragEndCallback? onItemDragEnd,
- ItemDragStartCallback? onItemSwipeStart,
- ItemDragUpdateCallback? onItemSwipeUpdate,
- ItemDragEndCallback? onItemSwipeEnd,
- 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,
});