Scrollable constructor
Creates a widget that scrolls.
The axisDirection
and viewportBuilder
arguments must not be null.
Implementation
const Scrollable({
Key key,
this.axisDirection = AxisDirection.down,
this.controller,
this.physics,
@required this.viewportBuilder,
this.excludeFromSemantics = false,
this.semanticChildCount,
}) : assert(axisDirection != null),
assert(viewportBuilder != null),
assert(excludeFromSemantics != null),
super (key: key);