Skip to content

Commit e553bbc

Browse files
authored
Update progress_indicator.dart to indicate the adaptive option is for both macOS and iOS (#145246)
Since we are using The `CupertinoScrollBar` for both macOS and iOS, it's a good idea to update the description of the `adaptive` function to indicate it will be used for macOS and iOS *Update progress_indicator.dart to indicate the adaptive option is for both macOS and iOS.* ![image](https://github.com/flutter/flutter/assets/73608287/51c21a43-ce64-4253-aff7-1854a7366eea)
1 parent d424b64 commit e553bbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/flutter/lib/src/material/progress_indicator.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -566,11 +566,11 @@ class CircularProgressIndicator extends ProgressIndicator {
566566
}) : _indicatorType = _ActivityIndicatorType.material;
567567

568568
/// Creates an adaptive progress indicator that is a
569-
/// [CupertinoActivityIndicator] in iOS and [CircularProgressIndicator] in
570-
/// material theme/non-iOS.
569+
/// [CupertinoActivityIndicator] in [TargetPlatform.iOS] & [TargetPlatform.macOS] and [CircularProgressIndicator] in
570+
/// material theme/non-Apple platforms.
571571
///
572572
/// The [value], [valueColor], [strokeWidth], [semanticsLabel], and
573-
/// [semanticsValue] will be ignored in iOS.
573+
/// [semanticsValue] will be ignored in iOS & macOS.
574574
///
575575
/// {@macro flutter.material.ProgressIndicator.ProgressIndicator}
576576
const CircularProgressIndicator.adaptive({

0 commit comments

Comments
 (0)