Repository navigation
The comment of the CircularProgressIndicator.adaptive() is misleading. #118144
Copy link
Copy link
Closed
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Activity
- changed the title
[-]The comment of CircularProgressIndicator.adaptive() is misleading.[/-][+]The comment of the CircularProgressIndicator.adaptive() is misleading.[/+]on Jan 7, 2023 - addedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Jan 9, 2023 Thanks for the report. Using below code sample, the listed property values are rendered for
CircularProgressIndicator:body: Center( child: CircularProgressIndicator( backgroundColor: Colors.blue, value: 0.5, valueColor: AlwaysStoppedAnimation(Colors.green), strokeWidth: 50, ), ),For
CircularProgessIndicator.adaptive(), though, exceptbackgroundColor, all other properties don't render:Maybe a similar fix needed: #81427
/cc @darrenaustin
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesd: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/and removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Jan 9, 2023 Thank you for confirming the feature. I don't know if it's an expected feature but being able to change the
backgroundColoris useful for my case.Merged in
Reacted by issey- addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
on Jan 20, 2023 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Mar 4, 2023
Metadata
Metadata
Assignees
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version


Here's a comment of the CircularProgressIndicator.adaptive()
I noticed that comment says that
/// The [value], [backgroundColor], [valueColor], [strokeWidth],
/// [semanticsLabel], and [semanticsValue] will be ignored in iOS.
but it is actually not true. The backgroundColor changes the color of the CircularProgressIndicator in IOS.
This comment is misleading so it should be changed.
Steps to Reproduce
flutter runon the code sampleExpected results:
CircularProgressIndicator with no backgroundColor
Actual results:
CircularProgressIndicator with a red backgroundColor
Code sample