DirectionalCupertinoScrollbar constructor

const DirectionalCupertinoScrollbar(
  1. {Key key,
  2. ScrollController controller,
  3. @required Widget child,
  4. Axis scrollDirection = Axis.vertical}
)

Creates an iOS style scrollbar that wraps the given child.

The child should be a source of ScrollNotification notifications, typically a Scrollable widget.

Implementation

const DirectionalCupertinoScrollbar({
  Key key,
  this.controller,
  @required this.child,
  this.scrollDirection = Axis.vertical,
}) : super(key: key);