MoveItemEvent<T> constructor
MoveItemEvent<T> ({
- required T item,
- required int newIndex,
- bool animateWhenIndexDidNotChanged = false,
- AnimationConfigsBuilder? animationConfigsBuilder,
- 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);