ScrollTabItem.obtain constructor

const ScrollTabItem.obtain(
  1. int dir,
  2. double progress,
  3. int targetIndex,
  4. int currentIndex,
  5. Offset currentEndOffset,
  6. int totalTabBarLength,
  7. Size totalTabBarSize,
  8. Size currentItemSize,
  9. Size nextItemSize,
)

Implementation

const ScrollTabItem.obtain(
  this.dir,
  this.progress,
  this.targetIndex,
  this.currentIndex,
  this.currentEndOffset,
  this.totalTabBarLength,
  this.totalTabBarSize,
  this.currentItemSize,
  this.nextItemSize,
);