SliverOffstage constructor

const SliverOffstage({
  1. Key? key,
  2. bool offstage = true,
  3. Widget? sliver,
})

Creates a sliver that visually hides its sliver child.

Implementation

const SliverOffstage({
  super.key,
  this.offstage = true,
  Widget? sliver,
}) : super(child: sliver);