AntdScrollToIndexConfig constructor

const AntdScrollToIndexConfig({
  1. bool jump = true,
  2. Duration duration = const Duration(milliseconds: 200),
  3. Curve curve = Curves.easeOut,
  4. AntdEdge viewportAlign = AntdEdge.start,
  5. AntdEdge itemAlign = AntdEdge.start,
  6. bool set = false,
  7. int getTargetSize(
    1. int total
    )?,
})

Implementation

const AntdScrollToIndexConfig(
    {this.jump = true,
    this.duration = const Duration(milliseconds: 200),
    this.curve = Curves.easeOut,
    this.viewportAlign = AntdEdge.start,
    this.itemAlign = AntdEdge.start,
    this.set = false,
    this.getTargetSize});