offstage property
Whether the child is hidden from the rest of the tree.
If true, the child is laid out as if it was in the tree, but without painting anything, without making the child available for hit testing, and without taking any room in the parent.
If false, the child is included in the tree as normal.
Implementation
bool get offstage => _offstage;
Implementation
set offstage(bool value) {
if (value == _offstage) {
return;
}
_offstage = value;
markNeedsLayoutForSizedByParentChange();
}