SemanticsNode constructor

SemanticsNode({
  1. Key? key,
  2. VoidCallback? showOnScreen,
})

Creates a semantic node.

Each semantic node has a unique identifier that is assigned when the node is created.

Implementation

SemanticsNode({this.key, this._showOnScreen}) : _id = _generateNewId();