Skip to content

Commit c484d14

Browse files
authored
Fix doc reference typos (flutter#162893)
I updated flutter#160921 and found these. Sadly, the lint is not quite ready to be enabled yet. Work towards flutter#150800.
1 parent 4fdcb40 commit c484d14

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/flutter/lib/src/rendering/object.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/// @docImport 'package:flutter/widgets.dart';
88
///
99
/// @docImport 'box.dart';
10+
/// @docImport 'paragraph.dart';
1011
/// @docImport 'proxy_box.dart';
1112
/// @docImport 'view.dart';
1213
/// @docImport 'viewport.dart';
@@ -4551,7 +4552,7 @@ final class _SemanticsParentData {
45514552
/// [_RenderObjectSemantics.contributesToSemanticsTree] should forms a node
45524553
///
45534554
/// This is imposed by parent render objects that set
4554-
/// [SemanticsConfiguration.explicitChildNode] to true.
4555+
/// [SemanticsConfiguration.explicitChildNodes] to true.
45554556
final bool explicitChildNodes;
45564557

45574558
/// Tags for immediate render object semantics that

packages/flutter/lib/src/semantics/binding.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ mixin SemanticsBinding on BindingBase {
7878
final ObserverList<ValueSetter<ui.SemanticsActionEvent>> _semanticsActionListeners =
7979
ObserverList<ValueSetter<ui.SemanticsActionEvent>>();
8080

81-
/// Adds a listener that is called for every [SemanticsActionEvent] received.
81+
/// Adds a listener that is called for every [ui.SemanticsActionEvent] received.
8282
///
8383
/// The listeners are called before [performSemanticsAction] is invoked.
8484
///

packages/flutter/lib/src/widgets/widget_preview.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
/// @docImport 'media_query.dart';
6+
library;
7+
58
import 'framework.dart';
69

710
/// Annotation used to mark functions that return a widget preview.

0 commit comments

Comments
 (0)