Block({Key key, List<Widget> children: const [], EdgeInsets padding, double initialScrollOffset, Axis scrollDirection: Axis.vertical, ViewportAnchor scrollAnchor: ViewportAnchor.start, ScrollListener onScrollStart, ScrollListener onScroll, ScrollListener onScrollEnd, Key scrollableKey })

Creates a scrollable array of children.

Source

Block({
  Key key,
  this.children: const <Widget>[],
  this.padding,
  this.initialScrollOffset,
  this.scrollDirection: Axis.vertical,
  this.scrollAnchor: ViewportAnchor.start,
  this.onScrollStart,
  this.onScroll,
  this.onScrollEnd,
  this.scrollableKey
}) : super(key: key) {
  assert(children != null);
  assert(!children.any((Widget child) => child == null));
}