ImplicitlyAnimatedList<E extends Object> constructor

const ImplicitlyAnimatedList<E extends Object>({
  1. Key? key,
  2. required List<E> items,
  3. required dynamic itemBuilder,
  4. required ItemDiffUtil<E> areItemsTheSame,
  5. RemovedItemBuilder<Widget, E>? removeItemBuilder,
  6. UpdatedItemBuilder<Widget, E>? updateItemBuilder,
  7. Duration insertDuration = const Duration(milliseconds: 500),
  8. Duration removeDuration = const Duration(milliseconds: 500),
  9. Duration updateDuration = const Duration(milliseconds: 500),
  10. bool? spawnIsolate,
  11. Axis scrollDirection = Axis.vertical,
  12. bool reverse = false,
  13. ScrollController? controller,
  14. bool? primary,
  15. ScrollPhysics? physics,
  16. bool shrinkWrap = false,
  17. EdgeInsetsGeometry? padding,
})

Creates a Flutter ListView that implicitly animates between the changes of two lists.

Implementation

const ImplicitlyAnimatedList({
  Key? key,
  required this.items,
  required this.itemBuilder,
  required this.areItemsTheSame,
  this.removeItemBuilder,
  this.updateItemBuilder,
  this.insertDuration = const Duration(milliseconds: 500),
  this.removeDuration = const Duration(milliseconds: 500),
  this.updateDuration = const Duration(milliseconds: 500),
  this.spawnIsolate,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
}) : super(key: key);