XGridAnimated constructor
const
XGridAnimated(- {@required LiveListItemBuilder itemBuilder,
- @required SliverGridDelegate gridDelegate,
- @required int itemCount,
- double visibleFraction = 0.025,
- bool reAnimateOnVisibility = false,
- Duration delay = Duration.zero,
- Duration showItemInterval = _kDuration,
- Duration showItemDuration = _kDuration,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- ScrollController controller,
- bool primary,
- ScrollPhysics physics,
- bool shrinkWrap = false,
- EdgeInsetsGeometry padding,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- 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);