offstage method

Widget offstage([
  1. bool offStageIf = true,
  2. bool forceWrap = false
])

Implementation

Widget offstage([bool offStageIf = true, bool forceWrap = false]) {
  if (offStageIf == true || forceWrap == true) {
    return Offstage(offstage: offStageIf == true, child: this);
  } else {
    return this!;
  }
}