LiveOptions constructor
Configuration suitable for reuse in Live{List,SliverList,Grid,SliverGrid}.options constructors {@tool sample}
This example
LiveList.options(
option: AutoAnimatedOptions(
delay: Duration(seconds: 1),
showItemInterval: Duration(milliseconds: 500),
showItemDuration: Duration(seconds: 1),
visibleFraction: 0.025,
),
)
{@end-tool}
Implementation
const LiveOptions({
this.delay = Duration.zero,
this.showItemInterval = _kDuration,
this.showItemDuration = _kDuration,
this.visibleFraction = 0.025,
this.reAnimateOnVisibility = false,
});