diff --git a/packages/flutter/lib/src/widgets/overscroll_indicator.dart b/packages/flutter/lib/src/widgets/overscroll_indicator.dart index c2843d267f..1ae41dd5e2 100644 --- a/packages/flutter/lib/src/widgets/overscroll_indicator.dart +++ b/packages/flutter/lib/src/widgets/overscroll_indicator.dart @@ -26,8 +26,8 @@ import 'transitions.dart'; /// /// [GlowingOverscrollIndicator] generates [OverscrollIndicatorNotification] /// before showing an overscroll indication. To prevent the indicator from -/// showing the indication, call [OverscrollIndicatorNotification.disallowGlow] -/// on the notification. +/// showing the indication, call +/// [OverscrollIndicatorNotification.disallowIndicator] on the notification. /// /// Created automatically by [ScrollBehavior.buildOverscrollIndicator] on platforms /// (e.g., Android) that commonly use this type of overscroll indication. @@ -999,16 +999,6 @@ class OverscrollIndicatorNotification extends Notification with ViewportNotifica /// Defaults to true, cannot be null. bool accepted = true; - /// Call this method if the glow should be prevented. This method is - /// deprecated in favor of [disallowIndicator]. - @Deprecated( - 'Use disallowIndicator instead. ' - 'This feature was deprecated after v2.5.0-6.0.pre.', - ) - void disallowGlow() { - accepted = false; - } - /// Call this method if the overscroll indicator should be prevented. void disallowIndicator() { accepted = false;