ListAnimatedListDiffDispatcher<T> constructor
Implementation
ListAnimatedListDiffDispatcher({
@required AnimatedListController animatedListController,
@required ListAnimatedListDiffItemBuilder<T> itemBuilder,
@required List<T> currentList,
@required ListAnimatedListDiffComparator<T> comparator,
}) : super(
animatedListController: animatedListController,
initialList: currentList,
itemBuilder:
(BuildContext context, List<T> list, int index, bool animating) =>
itemBuilder.call(context, list[index], animating),
comparator: _ListAnimatedListDiffComparatorDelegate<T>(comparator),
);