From b1c4faf99838826d099f87f934e28212feb7b29e Mon Sep 17 00:00:00 2001 From: jawwadhassan Date: Thu, 11 May 2023 18:29:25 +0500 Subject: [PATCH] fix: remove deprecated annotations from card_animation.dart --- lib/src/card_animation.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/src/card_animation.dart b/lib/src/card_animation.dart index d6a9019..e8ad14d 100644 --- a/lib/src/card_animation.dart +++ b/lib/src/card_animation.dart @@ -10,9 +10,7 @@ class CardAnimation { required this.maxAngle, required this.initialScale, required this.initialOffset, - @Deprecated('Use [allowedSwipeDirection] instead]') this.isHorizontalSwipingEnabled = true, - @Deprecated('Use [allowedSwipeDirection] instead]') this.isVerticalSwipingEnabled = true, this.allowedSwipeDirection = const AllowedSwipeDirection.all(), }) : scale = initialScale; @@ -21,9 +19,7 @@ class CardAnimation { final double initialScale; final Offset initialOffset; final AnimationController animationController; - @Deprecated('Use [allowedSwipeDirection] instead]') final bool isHorizontalSwipingEnabled; - @Deprecated('Use [allowedSwipeDirection] instead]') final bool isVerticalSwipingEnabled; final AllowedSwipeDirection allowedSwipeDirection;