File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
packages/flutter/lib/src/cupertino Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -380,13 +380,13 @@ class CupertinoSliverRefreshControl extends StatefulWidget {
380
380
) {
381
381
final double percentageComplete = clampDouble (pulledExtent / refreshTriggerPullDistance, 0.0 , 1.0 );
382
382
383
- // Place the indicator at the top of the sliver that opens up. Note that we 're using
384
- // a Stack/Positioned widget because the CupertinoActivityIndicator does some internal
385
- // translations based on the current size (which grows as the user drags) that makes
386
- // Padding calculations difficult. Rather than be reliant on the internal implementation
387
- // of the activity indicator, the Positioned widget allows us to be explicit where the
388
- // widget gets placed. Also note that the indicator should appear over the top of the
389
- // dragged widget, hence the use of Overflow.visible .
383
+ // Place the indicator at the top of the sliver that opens up. We 're using a
384
+ // Stack/Positioned widget because the CupertinoActivityIndicator does some
385
+ // internal translations based on the current size (which grows as the user drags)
386
+ // that makes Padding calculations difficult. Rather than be reliant on the
387
+ // internal implementation of the activity indicator, the Positioned widget allows
388
+ // us to be explicit where the widget gets placed. The indicator should appear
389
+ // over the top of the dragged widget, hence the use of Clip.none .
390
390
return Center (
391
391
child: Stack (
392
392
clipBehavior: Clip .none,
You can’t perform that action at this time.
0 commit comments