AnimatedListView constructor
AnimatedListView({
- Key? key,
- ScrollController? controller,
- int? itemCount,
- EdgeInsetsGeometry? padding,
- ScrollPhysics? physics,
- Axis scrollDirection = Axis.vertical,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- double? cacheExtent,
- Clip clipBehavior = Clip.hardEdge,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- int? findChildIndexCallback()?,
- double? itemExtent,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- bool? primary,
- Widget? prototypeItem,
- String? restorationId,
- bool reverse = false,
- int? semanticChildCount,
- required Widget itemBuilder(),
- bool shrinkWrap = false,
- ListAnimationType listAnimationType = ListAnimationType.Slide,
- SlideConfiguration? slideConfiguration,
- FadeInConfiguration? fadeInConfiguration,
- ScaleConfiguration? scaleConfiguration,
- FlipConfiguration? flipConfiguration,
- VoidCallback? onNextPage,
- VoidCallback? onPageScrollChange,
- RefreshCallback? onSwipeRefresh,
- bool disposeScrollController = true,
- 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,
});