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