File tree Expand file tree Collapse file tree
packages/flutter/lib/src/semantics Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1801,10 +1801,10 @@ class SemanticsProperties extends DiagnosticableTree {
18011801 /// application might define headers A, B, C, etc. to divide the list of
18021802 /// alphabetically sorted contacts into sections.
18031803 ///
1804- /// Support for this semantic varies by platform. Android accessibility
1805- /// exposes headings rather than a separate header concept, so `header` alone
1806- /// is not sufficient there. To mark content as a heading on Android, also set
1807- /// [headingLevel] .
1804+ /// Support for this semantic varies by platform. On Android, this property
1805+ /// alone is not sufficient. To mark content as a heading for accessibility
1806+ /// services, also set [headingLevel] . This is because Android accessibility
1807+ /// APIs expose headings, but not a separate header concept .
18081808 final bool ? header;
18091809
18101810 /// If non-null, indicates that this subtree represents a text field.
You can’t perform that action at this time.
0 commit comments