Sliver.fillViewport constructor Null safety

const Sliver.fillViewport(
  1. {Key? key,
  2. required SliverChildDelegate delegate,
  3. @Default(1.0) double viewportFraction,
  4. @Default(true) bool padEnds}
)

Implementation

const factory Sliver.fillViewport({
  Key? key,
  required SliverChildDelegate delegate,
  @Default(1.0) double viewportFraction,
  @Default(true) bool padEnds,
}) = SliverFillViewport;