GrxListLoading constructor

GrxListLoading({
  1. Key? key,
  2. int listSize = 10,
  3. Widget itemBuilder(
    1. int index
    )?,
  4. Widget separatorBuilder(
    1. BuildContext context,
    2. int index
    )?,
  5. 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;