RenderSliverOffstage constructor

RenderSliverOffstage({
  1. bool offstage = true,
  2. RenderSliver? sliver,
})

Creates an offstage render object.

Implementation

RenderSliverOffstage({
  bool offstage = true,
  RenderSliver? sliver,
}) : _offstage = offstage {
  child = sliver;
}