From 064e40d803dc86f7b90d71d1eb0a004b4ce8caa0 Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Mon, 9 Jul 2018 10:55:18 +0200 Subject: [PATCH] Fix typo (#19160) --- .../lib/src/rendering/performance_overlay.dart | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/flutter/lib/src/rendering/performance_overlay.dart b/packages/flutter/lib/src/rendering/performance_overlay.dart index 3d0e33ef48..8386e6b362 100644 --- a/packages/flutter/lib/src/rendering/performance_overlay.dart +++ b/packages/flutter/lib/src/rendering/performance_overlay.dart @@ -44,14 +44,14 @@ enum PerformanceOverlayOption { /// Displays performance statistics. /// -/// The overlay show two time series. The first shows how much time was required -/// on this thread to produce each frame. The second shows how much time was -/// required on the GPU thread to produce each frame. Ideally, both these values -/// would be less than the total frame budget for the hardware on which the app -/// is running. For example, if the hardware has a screen that updates at 60 Hz, -/// each thread should ideally spend less than 16ms producing each frame. This -/// ideal condition is indicated by a green vertical line for each thread. -/// Otherwise, the performance overlay shows a red vertical line. +/// The overlay shows two time series. The first shows how much time was +/// required on this thread to produce each frame. The second shows how much +/// time was required on the GPU thread to produce each frame. Ideally, both +/// these values would be less than the total frame budget for the hardware on +/// which the app is running. For example, if the hardware has a screen that +/// updates at 60 Hz, each thread should ideally spend less than 16ms producing +/// each frame. This ideal condition is indicated by a green vertical line for +/// each thread. Otherwise, the performance overlay shows a red vertical line. /// /// The simplest way to show the performance overlay is to set /// [MaterialApp.showPerformanceOverlay] or [WidgetsApp.showPerformanceOverlay]