SemanticsHandle class

A reference to the semantics information generated by the framework.

Semantics information are only collected when there are clients interested in them. These clients express their interest by holding a SemanticsHandle. When the client no longer needs the semantics information, it must call dispose on the SemanticsHandle to close it. When all open SemanticsHandles are disposed, the framework will stop updating the semantics information.

To obtain a SemanticsHandle, call SemanticsBinding.ensureSemantics.


hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


dispose() → void
Closes the semantics handle.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.