From f129fb0a9243463addd13ae39d7d210f945ea354 Mon Sep 17 00:00:00 2001 From: creativecreatorormaybenot Date: Tue, 9 Nov 2021 18:54:52 +0000 Subject: [PATCH] Improve ProgressIndicator value range docs (#88800) --- packages/flutter/lib/src/material/progress_indicator.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/material/progress_indicator.dart b/packages/flutter/lib/src/material/progress_indicator.dart index 9805a914c8..925bd6f0d9 100644 --- a/packages/flutter/lib/src/material/progress_indicator.dart +++ b/packages/flutter/lib/src/material/progress_indicator.dart @@ -32,8 +32,8 @@ abstract class ProgressIndicator extends StatefulWidget { /// /// {@template flutter.material.ProgressIndicator.ProgressIndicator} /// The [value] argument can either be null for an indeterminate - /// progress indicator, or non-null for a determinate progress - /// indicator. + /// progress indicator, or a non-null value between 0.0 and 1.0 for a + /// determinate progress indicator. /// /// ## Accessibility /// @@ -54,6 +54,7 @@ abstract class ProgressIndicator extends StatefulWidget { /// If non-null, the value of this progress indicator. /// /// A value of 0.0 means no progress and 1.0 means that progress is complete. + /// The value will be clamped to be in the range 0.0-1.0. /// /// If null, this progress indicator is indeterminate, which means the /// indicator displays a predetermined animation that does not indicate how