offstage property Null safety

bool offstage
final

Whether the sliver child is hidden from the rest of the tree.

If true, the sliver 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 sliver child is included in the tree as normal.

Implementation

final bool offstage;