GrxListLoading constructor
GrxListLoading({
- Key? key,
- int listSize = 10,
- Widget itemBuilder(
- int index
- Widget separatorBuilder(
- BuildContext context,
- int index
- AnimationController? animationController,
Implementation
GrxListLoading({
super.key,
this.listSize = 10,
this.itemBuilder,
this.separatorBuilder,
this.animationController,
}) : animation =
animationController != null
? Tween<double>(begin: 0.0, end: 1.0).animate(
CurvedAnimation(
parent: animationController,
curve: const Interval(0.2, 1.0, curve: Curves.fastOutSlowIn),
),
)
: null;