NestedScrollView constructor

const NestedScrollView({Key key, ScrollController controller, Axis scrollDirection: Axis.vertical, bool reverse: false, ScrollPhysics physics, @required NestedScrollViewHeaderSliversBuilder headerSliverBuilder, @required Widget body })

Creates a nested scroll view.

The reverse, headerSliverBuilder, and body arguments must not be null.

Implementation

const NestedScrollView({
  Key key,
  this.controller,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.physics,
  @required this.headerSliverBuilder,
  @required this.body,
}) : assert(scrollDirection != null),
     assert(reverse != null),
     assert(headerSliverBuilder != null),
     assert(body != null),
     super(key: key);