Creats a scrollable list of children that have equal size.
The scrollDirection, scrollAnchor, and itemExtent arguments must not be null.
Source
ScrollableList({
Key key,
this.initialScrollOffset,
this.scrollDirection: Axis.vertical,
this.scrollAnchor: ViewportAnchor.start,
this.onScrollStart,
this.onScroll,
this.onScrollEnd,
this.snapOffsetCallback,
this.scrollableKey,
@required this.itemExtent,
this.itemsWrap: false,
this.padding,
this.children: const <Widget>[],
}) : super(key: key) {
assert(scrollDirection != null);
assert(scrollAnchor != null);
assert(itemExtent != null);
}