Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 95a83d7

Browse files
authored
Adds setText to web engine (#24873)
1 parent 620b9e4 commit 95a83d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/web_ui/lib/src/ui/semantics.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ class SemanticsAction {
8181
_kDismissIndex: dismiss,
8282
_kMoveCursorForwardByWordIndex: moveCursorForwardByWord,
8383
_kMoveCursorBackwardByWordIndex: moveCursorBackwardByWord,
84+
_kSetText: setText,
8485
};
8586

8687
@override
@@ -128,6 +129,8 @@ class SemanticsAction {
128129
return 'SemanticsAction.moveCursorForwardByWord';
129130
case _kMoveCursorBackwardByWordIndex:
130131
return 'SemanticsAction.moveCursorBackwardByWord';
132+
case _kSetText:
133+
return 'SemanticsAction.setText';
131134
}
132135
assert(false, 'Unhandled index: $index');
133136
return '';

0 commit comments

Comments
 (0)