fix: remove deprecated annotations from card_animation.dart

This commit is contained in:
jawwadhassan 2023-05-11 18:29:25 +05:00
parent 8b68e62f21
commit b1c4faf998
1 changed files with 0 additions and 4 deletions

View File

@ -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;