@@ -33,7 +33,7 @@ typedef PointerDataPacketCallback = void Function(PointerDataPacket packet);
3333typedef KeyDataCallback = bool Function (KeyData data);
3434
3535/// 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);
3737
3838/// Signature for responses to platform messages.
3939///
@@ -1089,10 +1089,10 @@ class PlatformDispatcher {
10891089 }
10901090
10911091 /// A callback that is invoked whenever the user requests an action to be
1092- /// performed.
1092+ /// performed on a semantics node .
10931093 ///
10941094 /// 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.
10961096 ///
10971097 /// The framework invokes this callback in the same zone in which the
10981098 /// callback was set.
@@ -1128,11 +1128,11 @@ class PlatformDispatcher {
11281128 }
11291129
11301130 // 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) {
11321132 _invoke3 <int , SemanticsAction , ByteData ?>(
11331133 onSemanticsAction,
11341134 _onSemanticsActionZone,
1135- id ,
1135+ nodeId ,
11361136 SemanticsAction .values[action]! ,
11371137 args,
11381138 );
0 commit comments