RenderSliverFillViewport constructor

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

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

Implementation

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