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 = true,
  7. ScrollPhysics? physics = const NeverScrollableScrollPhysics(),
  8. EdgeInsetsGeometry? padding,
  9. Curve animationCurve = Curves.easeOutCubic,
  10. double staggerDelay = 0.05,
  11. double maxStaggerTime = 0.3,
})

Implementation

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