SemanticsNode.root constructor Null safety
- {Key? key,
- VoidCallback? showOnScreen,
- required SemanticsOwner owner}
Creates a semantic node to represent the root of the semantics tree.
The root node is assigned an identifier of zero.
Implementation
SemanticsNode.root({
this.key,
VoidCallback? showOnScreen,
required SemanticsOwner owner,
}) : _id = 0,
_showOnScreen = showOnScreen {
attach(owner);
}