ImplicitlyAnimatedList<E extends Object> constructor
const
ImplicitlyAnimatedList<E extends Object> ({
- Key? key,
- required List<
E> items, - required dynamic itemBuilder,
- required ItemDiffUtil<
E> areItemsTheSame, - RemovedItemBuilder<
Widget, E> ? removeItemBuilder, - UpdatedItemBuilder<
Widget, E> ? updateItemBuilder, - Duration insertDuration = const Duration(milliseconds: 500),
- Duration removeDuration = const Duration(milliseconds: 500),
- Duration updateDuration = const Duration(milliseconds: 500),
- bool? spawnIsolate,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- 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);