@@ -92,8 +92,12 @@ typedef enum {
92
92
/// Request that text be rendered at a bold font weight.
93
93
kFlutterAccessibilityFeatureBoldText = 1 << 3 ,
94
94
/// Request that certain animations be simplified and parallax effects
95
- // removed.
95
+ /// removed.
96
96
kFlutterAccessibilityFeatureReduceMotion = 1 << 4 ,
97
+ /// Request that UI be rendered with darker colors.
98
+ kFlutterAccessibilityFeatureHighContrast = 1 << 5 ,
99
+ /// Request to show on/off labels inside switches.
100
+ kFlutterAccessibilityFeatureOnOffSwitchLabels = 1 << 6 ,
97
101
} FlutterAccessibilityFeature ;
98
102
99
103
/// The set of possible actions that can be conveyed to a semantics node.
@@ -149,6 +153,8 @@ typedef enum {
149
153
kFlutterSemanticsActionMoveCursorForwardByWord = 1 << 19 ,
150
154
/// Move the cursor backward by one word.
151
155
kFlutterSemanticsActionMoveCursorBackwardByWord = 1 << 20 ,
156
+ /// Replace the current text in the text field.
157
+ kFlutterSemanticsActionSetText = 1 << 21 ,
152
158
} FlutterSemanticsAction ;
153
159
154
160
/// The set of properties that may be associated with a semantics node.
@@ -203,6 +209,12 @@ typedef enum {
203
209
/// `PageView` widget does not have implicit scrolling, so that users don't
204
210
/// navigate to the next page when reaching the end of the current one.
205
211
kFlutterSemanticsFlagHasImplicitScrolling = 1 << 18 ,
212
+ /// Whether the value of the semantics node is coming from a multi-line text
213
+ /// field.
214
+ ///
215
+ /// This is used for text fields to distinguish single-line text fields from
216
+ /// multi-line ones.
217
+ kFlutterSemanticsFlagIsMultiline = 1 << 19 ,
206
218
/// Whether the semantic node is read only.
207
219
///
208
220
/// Only applicable when kFlutterSemanticsFlagIsTextField flag is on.
0 commit comments