NestedScrollViewViewport constructor

NestedScrollViewViewport({Key key, AxisDirection axisDirection: AxisDirection.down, AxisDirection crossAxisDirection, double anchor: 0.0, @required ViewportOffset offset, Key center, List<Widget> slivers: const [], @required SliverOverlapAbsorberHandle handle })

Creates a variant of Viewport that has a SliverOverlapAbsorberHandle.

The handle must not be null.

Implementation

NestedScrollViewViewport({
  Key key,
  AxisDirection axisDirection = AxisDirection.down,
  AxisDirection crossAxisDirection,
  double anchor = 0.0,
  @required ViewportOffset offset,
  Key center,
  List<Widget> slivers = const <Widget>[],
  @required this.handle,
}) : assert(handle != null),
     super(
       key: key,
       axisDirection: axisDirection,
       crossAxisDirection: crossAxisDirection,
       anchor: anchor,
       offset: offset,
       center: center,
       slivers: slivers,
     );