XGridAnimated constructor

const XGridAnimated(
  1. {@required LiveListItemBuilder itemBuilder,
  2. @required SliverGridDelegate gridDelegate,
  3. @required int itemCount,
  4. double visibleFraction = 0.025,
  5. bool reAnimateOnVisibility = false,
  6. Duration delay = Duration.zero,
  7. Duration showItemInterval = _kDuration,
  8. Duration showItemDuration = _kDuration,
  9. Axis scrollDirection = Axis.vertical,
  10. bool reverse = false,
  11. ScrollController controller,
  12. bool primary,
  13. ScrollPhysics physics,
  14. bool shrinkWrap = false,
  15. EdgeInsetsGeometry padding,
  16. bool addAutomaticKeepAlives = true,
  17. bool addRepaintBoundaries = true,
  18. bool addSemanticIndexes = true,
  19. Key key}
)

Implementation

const XGridAnimated({
  @required this.itemBuilder,
  @required this.gridDelegate,
  @required this.itemCount,
  this.visibleFraction = 0.025,
  this.reAnimateOnVisibility = false,
  this.delay = Duration.zero,
  this.showItemInterval = _kDuration,
  this.showItemDuration = _kDuration,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  Key key,
})  : assert(itemBuilder != null),
      assert(itemCount != null && itemCount >= 0),
      super(key: key);