SemanticsEvent class Null safety

An event sent by the application to notify interested listeners that something happened to the user interface (e.g. a view scrolled).

These events are usually interpreted by assistive technologies to give the user additional clues about the current state of the UI.

Implementers

Constructors

SemanticsEvent(String type)
Initializes internal fields.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type String
The type of this event.
final

Methods

getDataMap() Map<String, dynamic>
Returns the event's data object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap({int? nodeId}) Map<String, dynamic>
Converts this event to a Map that can be encoded with StandardMessageCodec.
toString() String
A string representation of this object.
override

Operators

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