ExtendedRenderSliverFillViewport constructor
ExtendedRenderSliverFillViewport({
- required RenderSliverBoxChildManager childManager,
- double viewportFraction = 1.0,
- double pageSpacing = 0.0,
Creates a sliver that contains multiple box children that each fill the viewport.
The childManager
argument must not be null.
Implementation
ExtendedRenderSliverFillViewport({
required RenderSliverBoxChildManager childManager,
double viewportFraction = 1.0,
double pageSpacing = 0.0,
}) : assert(viewportFraction != null),
assert(viewportFraction > 0.0),
assert(pageSpacing != null),
assert(pageSpacing >= 0.0),
_viewportFraction = viewportFraction,
_pageSpacing = pageSpacing,
super(childManager: childManager);