@@ -33,7 +33,7 @@ typedef PointerDataPacketCallback = void Function(PointerDataPacket packet);
33
33
typedef KeyDataCallback = bool Function (KeyData data);
34
34
35
35
/// Signature for [PlatformDispatcher.onSemanticsAction] .
36
- typedef SemanticsActionCallback = void Function (int id , SemanticsAction action, ByteData ? args);
36
+ typedef SemanticsActionCallback = void Function (int nodeId , SemanticsAction action, ByteData ? args);
37
37
38
38
/// Signature for responses to platform messages.
39
39
///
@@ -1089,10 +1089,10 @@ class PlatformDispatcher {
1089
1089
}
1090
1090
1091
1091
/// A callback that is invoked whenever the user requests an action to be
1092
- /// performed.
1092
+ /// performed on a semantics node .
1093
1093
///
1094
1094
/// This callback is used when the user expresses the action they wish to
1095
- /// perform based on the semantics supplied by updateSemantics.
1095
+ /// perform based on the semantics node supplied by updateSemantics.
1096
1096
///
1097
1097
/// The framework invokes this callback in the same zone in which the
1098
1098
/// callback was set.
@@ -1128,11 +1128,11 @@ class PlatformDispatcher {
1128
1128
}
1129
1129
1130
1130
// Called from the engine, via hooks.dart
1131
- void _dispatchSemanticsAction (int id , int action, ByteData ? args) {
1131
+ void _dispatchSemanticsAction (int nodeId , int action, ByteData ? args) {
1132
1132
_invoke3 <int , SemanticsAction , ByteData ?>(
1133
1133
onSemanticsAction,
1134
1134
_onSemanticsActionZone,
1135
- id ,
1135
+ nodeId ,
1136
1136
SemanticsAction .values[action]! ,
1137
1137
args,
1138
1138
);
0 commit comments