TList<T> constructor

const TList<T>({
  1. Key? key,
  2. required List<T> items,
  3. required Widget itemBuilder(
    1. BuildContext context,
    2. T item,
    3. int index
    ),
  4. bool showAnimation = true,
  5. Duration animationDuration = const Duration(milliseconds: 1200),
  6. bool shrinkWrap = false,
  7. ScrollPhysics? physics,
  8. EdgeInsetsGeometry? padding,
  9. Curve animationCurve = Curves.easeOutCubic,
  10. double staggerDelay = 0.05,
  11. double maxStaggerTime = 0.3,
  12. ScrollController? controller,
  13. VoidCallback? onScrollEnd,
  14. double scrollEndThreshold = 0.0,
})

Implementation

const TList({
  super.key,
  required this.items,
  required this.itemBuilder,
  this.showAnimation = true,
  this.animationDuration = const Duration(milliseconds: 1200),
  this.shrinkWrap = false,
  this.physics,
  this.padding,
  this.animationCurve = Curves.easeOutCubic,
  this.staggerDelay = 0.05,
  this.maxStaggerTime = 0.3,
  this.controller,
  this.onScrollEnd,
  this.scrollEndThreshold = 0.0,
});