From eda41e57200498a2a467a1737a23e2fe8c2d2adf Mon Sep 17 00:00:00 2001 From: Kate Lovett Date: Fri, 1 Oct 2021 10:58:03 -0500 Subject: [PATCH] Remove vsync deprecation (#90293) --- .../lib/src/rendering/sliver_persistent_header.dart | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/flutter/lib/src/rendering/sliver_persistent_header.dart b/packages/flutter/lib/src/rendering/sliver_persistent_header.dart index 99406794a6..19f8085af8 100644 --- a/packages/flutter/lib/src/rendering/sliver_persistent_header.dart +++ b/packages/flutter/lib/src/rendering/sliver_persistent_header.dart @@ -498,24 +498,11 @@ class FloatingHeaderSnapConfiguration { /// Creates an object that specifies how a floating header is to be "snapped" /// (animated) into or out of view. FloatingHeaderSnapConfiguration({ - @Deprecated( - 'Specify SliverPersistentHeaderDelegate.vsync instead. ' - 'This feature was deprecated after v1.19.0.', - ) - this.vsync, this.curve = Curves.ease, this.duration = const Duration(milliseconds: 300), }) : assert(curve != null), assert(duration != null); - /// The [TickerProvider] for the [AnimationController] that causes a floating - /// header to snap in or out of view. - @Deprecated( - 'Specify SliverPersistentHeaderDelegate.vsync instead. ' - 'This feature was deprecated after v1.19.0.', - ) - final TickerProvider? vsync; - /// The snap animation curve. final Curve curve;