PrimaryScrollController constructor

const PrimaryScrollController({Key key, @required ScrollController controller, @required Widget child })

Creates a widget that associates a ScrollController with a subtree.

Implementation

const PrimaryScrollController({
  Key key,
  @required this.controller,
  @required Widget child
}) : assert(controller != null),
     super(key: key, child: child);