AnimatedListView constructor

AnimatedListView({
  1. Key? key,
  2. ScrollController? controller,
  3. int? itemCount,
  4. EdgeInsetsGeometry? padding,
  5. ScrollPhysics? physics,
  6. Axis scrollDirection = Axis.vertical,
  7. bool addAutomaticKeepAlives = true,
  8. bool addRepaintBoundaries = true,
  9. bool addSemanticIndexes = true,
  10. double? cacheExtent,
  11. Clip clipBehavior = Clip.hardEdge,
  12. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  13. int? findChildIndexCallback(
    1. Key
    )?,
  14. double? itemExtent,
  15. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  16. bool? primary,
  17. Widget? prototypeItem,
  18. String? restorationId,
  19. bool reverse = false,
  20. int? semanticChildCount,
  21. required Widget itemBuilder(
    1. BuildContext,
    2. int
    ),
  22. bool shrinkWrap = false,
  23. ListAnimationType listAnimationType = ListAnimationType.Slide,
  24. SlideConfiguration? slideConfiguration,
  25. FadeInConfiguration? fadeInConfiguration,
  26. ScaleConfiguration? scaleConfiguration,
  27. FlipConfiguration? flipConfiguration,
  28. VoidCallback? onNextPage,
  29. VoidCallback? onPageScrollChange,
  30. RefreshCallback? onSwipeRefresh,
  31. bool disposeScrollController = true,
  32. Widget? emptyWidget,
})

Implementation

AnimatedListView({
  super.key,
  this.controller,
  this.itemCount,
  this.padding,
  this.physics,
  this.scrollDirection = Axis.vertical,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.clipBehavior = Clip.hardEdge,
  this.dragStartBehavior = DragStartBehavior.start,
  this.findChildIndexCallback,
  this.itemExtent,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.primary,
  this.prototypeItem,
  this.restorationId,
  this.reverse = false,
  this.semanticChildCount,
  required this.itemBuilder,
  this.shrinkWrap = false,
  this.listAnimationType = ListAnimationType.Slide,
  this.slideConfiguration,
  this.fadeInConfiguration,
  this.scaleConfiguration,
  this.flipConfiguration,
  this.onNextPage,
  this.onPageScrollChange,
  this.onSwipeRefresh,
  this.disposeScrollController = true,
  this.emptyWidget,
});