Scrollbar constructor

const Scrollbar({Key key, @required Widget child })

Creates a material design scrollbar that wraps the given child.

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

Implementation

const Scrollbar({
  Key key,
  @required this.child,
}) : super(key: key);