SemanticsActionEvent class

An event to request a SemanticsAction of type to be performed on the SemanticsNode identified by nodeId owned by the FlutterView identified by viewId.

Used by SemanticsBinding.performSemanticsAction.

Constructors

SemanticsActionEvent({required SemanticsAction type, required int viewId, required int nodeId, Object? arguments})
Creates a SemanticsActionEvent.
const

Properties

arguments Object?
Optional arguments for the action.
final
hashCode int
The hash code for this object.
no setterinherited
nodeId int
The id of the SemanticsNode on which the action is to be performed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type SemanticsAction
The type of action to be performed.
final
viewId int
The id of the FlutterView the SemanticsNode identified by nodeId is associated with.
final

Methods

copyWith({SemanticsAction? type, int? viewId, int? nodeId, Object? arguments = _noArgumentPlaceholder}) SemanticsActionEvent
Create a clone of the SemanticsActionEvent but with provided parameters replaced.
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