RenderOffstage constructor Null safety

RenderOffstage(
  1. {bool offstage = true,
  2. RenderBox? child}
)

Creates an offstage render object.

Implementation

RenderOffstage({
  bool offstage = true,
  RenderBox? child,
}) : assert(offstage != null),
     _offstage = offstage,
     super(child);