ScrollToIndex constructor
const
ScrollToIndex({
- Key? key,
- required List<
ScrollToIndexBaseObject> list, - Duration? duration,
- double topDistance = 0,
- required ScrollToIndexController? controller,
- required IndexedWidgetBuilder itemBuilder,
Implementation
const ScrollToIndex({Key? key, required this.list, this.duration, this.topDistance = 0, required this.controller, required this.itemBuilder}) : super(key: key);