SliverFillRemaining constructor Null safety

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

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

Implementation

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