Fix docs for SemanticsAction (flutter/engine#52229)

The old rendering:

![image](https://github.com/flutter/engine/assets/1227763/201c1bed-b27b-40de-8abf-0c091fb20d3f)

This changes uses markdown syntax introduced in 5fab3a7bc8

Fixes https://github.com/flutter/flutter/issues/94494.
This commit is contained in:
Michael Goderbauer
2024-04-18 11:32:03 -07:00
committed by GitHub
parent 0241272a8b
commit 9d5b33fff8

View File

@@ -6,12 +6,11 @@ part of dart.ui;
/// 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);