RenderSliverFillViewport constructor

RenderSliverFillViewport({
  1. required RenderSliverBoxChildManager childManager,
  2. double viewportFraction = 1.0,
})

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

Implementation

RenderSliverFillViewport({
  required super.childManager,
  double viewportFraction = 1.0,
}) : assert(viewportFraction > 0.0),
     _viewportFraction = viewportFraction;