AnimatedSliverInfiniteListOptions constructor
const
AnimatedSliverInfiniteListOptions({
- bool reverse = false,
- EdgeInsets? padding,
- ScrollPhysics? scrollPhysics,
- int loadMoreTriggerItemDistance = 2,
- bool initialAnimation = true,
- Duration insertDuration = const Duration(milliseconds: 300),
- Duration deleteDuration = const Duration(milliseconds: 300),
- AnimatedChildBuilder? insertAnimation,
- AnimatedChildBuilder? deleteAnimation,
Implementation
const AnimatedSliverInfiniteListOptions({
this.reverse = false,
this.padding,
this.scrollPhysics,
this.loadMoreTriggerItemDistance = 2,
this.initialAnimation = true,
this.insertDuration = const Duration(milliseconds: 300),
this.deleteDuration = const Duration(milliseconds: 300),
this.insertAnimation,
this.deleteAnimation,
}) : super.defaults();