RenderSliverFillViewport constructor

RenderSliverFillViewport({@required RenderSliverBoxChildManager childManager, double viewportFraction: 1.0 })

Creates a sliver that contains multiple box children that each fill the viewport.

The childManager argument must not be null.

Implementation

RenderSliverFillViewport({
  @required RenderSliverBoxChildManager childManager,
  double viewportFraction = 1.0,
}) : assert(viewportFraction != null),
     assert(viewportFraction > 0.0),
     _viewportFraction = viewportFraction,
     super(childManager: childManager);