AnimatedSliverInfiniteListOptions constructor

const AnimatedSliverInfiniteListOptions({
  1. bool reverse = false,
  2. EdgeInsets? padding,
  3. ScrollPhysics? scrollPhysics,
  4. int loadMoreTriggerItemDistance = 2,
  5. bool initialAnimation = true,
  6. Duration insertDuration = const Duration(milliseconds: 300),
  7. Duration deleteDuration = const Duration(milliseconds: 300),
  8. AnimatedChildBuilder? insertAnimation,
  9. 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();