File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,12 @@ part of dart.ui;
8
8
9
9
/// The possible actions that can be conveyed from the operating system
10
10
/// accessibility APIs to a semantics node.
11
- //
12
- // When changes are made to this class, the equivalent APIs in
13
- // `lib/ui/semantics/semantics_node.h` and in each of the embedders *must* be
14
- // updated.
11
+ ///
12
+ /// \warning When changes are made to this class, the equivalent APIs in
13
+ /// `lib/ui/semantics/semantics_node.h` and in each of the embedders
14
+ /// *must* be updated.
15
+ /// See also:
16
+ /// - file://./../../lib/ui/semantics/semantics_node.h
15
17
class SemanticsAction {
16
18
const SemanticsAction ._(this .index) : assert (index != null ); // ignore: unnecessary_null_comparison
17
19
Original file line number Diff line number Diff line change @@ -48,7 +48,12 @@ const int kScrollableSemanticsActions =
48
48
static_cast <int32_t >(SemanticsAction::kScrollUp ) |
49
49
static_cast <int32_t >(SemanticsAction::kScrollDown );
50
50
51
- // Must match the SemanticsFlags enum in semantics.dart.
51
+ // / C/C++ representation of `SemanticsFlags` defined in
52
+ // / `lib/ui/semantics.dart`.
53
+ // /\warning This must match the `SemanticsFlags` enum in
54
+ // / `lib/ui/semantics.dart`.
55
+ // / See also:
56
+ // / - file://./../../../lib/ui/semantics.dart
52
57
enum class SemanticsFlags : int32_t {
53
58
kHasCheckedState = 1 << 0 ,
54
59
kIsChecked = 1 << 1 ,
You can’t perform that action at this time.
0 commit comments