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.

Properties

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

Methods

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

Operators

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