SliverFillRemainingModifier constructor

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

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

Implementation

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