ExtendedSliverFillViewport constructor
const
ExtendedSliverFillViewport({
- Key? key,
- required SliverChildDelegate delegate,
- double viewportFraction = 1.0,
- bool padEnds = true,
- double pageSpacing = 0.0,
Creates a sliver whose box children that each fill the viewport.
Implementation
const ExtendedSliverFillViewport({
Key? key,
required this.delegate,
this.viewportFraction = 1.0,
this.padEnds = true,
this.pageSpacing = 0.0,
}) : assert(viewportFraction != null),
assert(viewportFraction > 0.0),
assert(pageSpacing != null),
assert(pageSpacing >= 0.0),
assert(padEnds != null),
super(key: key);