Offstage constructor

const Offstage(
  1. {Key key,
  2. bool offstage: true,
  3. Widget child}
)

Creates a widget that visually hides its child.

Implementation

const Offstage({ Key key, this.offstage = true, Widget child })
  : assert(offstage != null),
    super(key: key, child: child);