TList<T> constructor
const
TList<T> ({
- Key? key,
- required List<
T> items, - required Widget itemBuilder(
- BuildContext context,
- T item,
- int index
- bool showAnimation = true,
- Duration animationDuration = const Duration(milliseconds: 1200),
- bool shrinkWrap = false,
- ScrollPhysics? physics,
- EdgeInsetsGeometry? padding,
- Curve animationCurve = Curves.easeOutCubic,
- double staggerDelay = 0.05,
- double maxStaggerTime = 0.3,
- ScrollController? controller,
- VoidCallback? onScrollEnd,
- 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,
});