AnimatedGridViewBuilder constructor

const AnimatedGridViewBuilder({
  1. Key? key,
  2. required int itemCount,
  3. required IndexedWidgetBuilder itemBuilder,
  4. ScrollWidgetAnimationType animationType = ScrollWidgetAnimationType.fadeOut,
  5. Duration? animationDuration = const Duration(milliseconds: 500),
  6. double itemDelay = 0.1,
  7. double? bounceAmplitude,
  8. Color? colorChangeHighlightColor,
  9. int? delay,
  10. SliverGridDelegate? gridDelegate,
  11. SliverChildDelegate? childrenDelegate,
  12. Axis? scrollDirection,
  13. ScrollController? controller,
  14. bool? reverse,
  15. bool? primary,
  16. bool? shrinkWrap,
  17. ScrollPhysics? physics,
  18. EdgeInsetsGeometry? padding,
})

Padding for the grid view.

Implementation

const AnimatedGridViewBuilder({
  super.key,
  required this.itemCount,
  required this.itemBuilder,
  this.animationType = ScrollWidgetAnimationType.fadeOut,
  this.animationDuration = const Duration(milliseconds: 500),
  this.itemDelay = 0.1,
  this.bounceAmplitude,
  this.colorChangeHighlightColor,
  this.delay,
  this.gridDelegate,
  this.childrenDelegate,
  this.scrollDirection,
  this.controller,
  this.reverse,
  this.primary,
  this.shrinkWrap,
  this.physics,
  this.padding,
});