sendEvent method
- SemanticsEvent event
Sends a SemanticsEvent associated with this SemanticsNode.
Semantics events should be sent to inform interested parties (like the accessibility system of the operating system) about changes to the UI.
Implementation
void sendEvent(SemanticsEvent event) {
if (!attached) {
return;
}
SystemChannels.accessibility.send(event.toMap(nodeId: id));
}