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,
})

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,
});