Scrollable constructor

const Scrollable({Key key, AxisDirection axisDirection: AxisDirection.down, ScrollController controller, ScrollPhysics physics, @required ViewportBuilder viewportBuilder, bool excludeFromSemantics: false, int semanticChildCount })

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