commit | 010c9de851045de90809356991bc8457e660aadc | [log] [tgz] |
---|---|---|
author | Michael Goderbauer <goderbauer@google.com> | Thu Apr 18 11:32:03 2024 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 18 18:32:03 2024 +0000 |
tree | 3f1a7f38de42d0e46d06b159a6e4c5341bcf033d | |
parent | 5f429f17fd985df6b19e975bbc9731a007879f80 [diff] |
Fix docs for SemanticsAction (#52229) The old rendering: ![image](https://github.com/flutter/engine/assets/1227763/201c1bed-b27b-40de-8abf-0c091fb20d3f) This changes uses markdown syntax introduced in https://github.com/dart-lang/markdown/commit/5fab3a7bc880ddf979ccabfbcbad3fea091d7d0b Fixes https://github.com/flutter/flutter/issues/94494.
diff --git a/lib/ui/semantics.dart b/lib/ui/semantics.dart index 3a99e83..e0da396 100644 --- a/lib/ui/semantics.dart +++ b/lib/ui/semantics.dart
@@ -6,12 +6,11 @@ /// The possible actions that can be conveyed from the operating system /// accessibility APIs to a semantics node. -/// -/// \warning When changes are made to this class, the equivalent APIs in -/// `lib/ui/semantics/semantics_node.h` and in each of the embedders -/// *must* be updated. -/// See also: -/// - file://./../../lib/ui/semantics/semantics_node.h +// +// > [!Warning] +// > When changes are made to this class, the equivalent APIs in +// > `lib/ui/semantics/semantics_node.h` and in each of the embedders +// > *must* be updated. class SemanticsAction { const SemanticsAction._(this.index, this.name);