Make dartdoc warnings fatal (& cleanup of warnings) (#62367)

This commit is contained in:
Michael Goderbauer
2020-07-28 16:11:04 -07:00
committed by GitHub
parent e17a721951
commit f4e10b4fb5
40 changed files with 177 additions and 209 deletions

View File

@@ -174,7 +174,7 @@ class BySemanticsLabel extends SerializableFinder {
/// Creates a semantic label finder given the [label].
const BySemanticsLabel(this.label);
/// A [Pattern] matching the [Semantics.properties.label].
/// A [Pattern] matching the label of a [SemanticsNode].
///
/// If this is a [String], it will be treated as an exact match.
final Pattern label;

View File

@@ -52,7 +52,7 @@ class GetOffset extends CommandWithTarget {
String get kind => 'get_offset';
}
/// The result of the [GetRect] command.
/// The result of the [GetOffset] command.
///
/// The offset is provided in logical pixels, which can be translated
/// to device pixels via [Window.devicePixelRatio].

View File

@@ -146,11 +146,11 @@ class TimelineSummary {
/// * "frame_rasterizer_begin_times": The rasterize begin time of each frame.
/// * "average_vsync_transitions_missed": Computes the average of the
/// `vsync_transitions_missed` over the lag events.
/// See [sceneDisplayLagSummarizer.computeAverageVsyncTransitionsMissed].
/// See [SceneDisplayLagSummarizer.computeAverageVsyncTransitionsMissed].
/// * "90th_percentile_vsync_transitions_missed" and
/// "99th_percentile_vsync_transitions_missed": The 90/99-th percentile
/// `vsync_transitions_missed` over the lag events.
/// See [sceneDisplayLagSummarizer.computePercentileVsyncTransitionsMissed].
/// See [SceneDisplayLagSummarizer.computePercentileVsyncTransitionsMissed].
Map<String, dynamic> get summaryJson {
final SceneDisplayLagSummarizer sceneDisplayLagSummarizer = _sceneDisplayLagSummarizer();
final Map<String, dynamic> profilingSummary = _profilingSummarizer().summarize();