SliverFillRemaining constructor Null safety

const SliverFillRemaining(
  1. {Key? key,
  2. Widget? child,
  3. bool hasScrollBody,
  4. bool fillOverscroll}
)

Creates a sliver that fills the remaining space in the viewport.

Implementation

const SliverFillRemaining({
  Key? key,
  this.child,
  this.hasScrollBody = true,
  this.fillOverscroll = false,
}) : assert(hasScrollBody != null),
     assert(fillOverscroll != null),
     super(key: key);