ScrollProgress constructor

const ScrollProgress({
  1. int currentIndex = 0,
  2. int targetIndex = -1,
  3. double progress = 0,
  4. int dir = 0,
})

Implementation

const ScrollProgress({
  this.currentIndex = 0,
  this.targetIndex = -1,
  this.progress = 0,
  this.dir = 0,
});