MoveItemEvent<T> constructor

MoveItemEvent<T>({
  1. required T item,
  2. required int newIndex,
  3. bool animateWhenIndexDidNotChanged = false,
  4. AnimationConfigsBuilder? animationConfigsBuilder,
  5. bool forceNotify = false,
})

Creates a MoveItemEvent using an item instance.

Implementation

MoveItemEvent({
  required T item,
  required this.newIndex,
  this.animateWhenIndexDidNotChanged = false,
  this.animationConfigsBuilder,
  this.forceNotify = false,
}) : super(item);