KeyedAnimatedList<T> constructor

const KeyedAnimatedList<T>({
  1. Key? key,
  2. required List<T> items,
  3. required Object keyOf(
    1. T item
    ),
  4. required Widget itemBuilder(
    1. BuildContext context,
    2. T item
    ),
  5. Widget? separator,
  6. ScrollController? controller,
  7. EdgeInsetsGeometry? padding,
  8. double estimatedItemExtent = SliverPrismList.defaultEstimatedItemExtent,
  9. Duration duration = _defaultDuration,
})

Implementation

const KeyedAnimatedList({
  super.key,
  required this.items,
  required this.keyOf,
  required this.itemBuilder,
  this.separator,
  this.controller,
  this.padding,
  this.estimatedItemExtent = SliverPrismList.defaultEstimatedItemExtent,
  this.duration = _defaultDuration,
});