diff --git a/lib/src/widget/card_swiper.dart b/lib/src/widget/card_swiper.dart index 84b13fc..c9ab72d 100644 --- a/lib/src/widget/card_swiper.dart +++ b/lib/src/widget/card_swiper.dart @@ -159,10 +159,10 @@ class CardSwiper extends StatefulWidget { scale >= 0 && scale <= 1, 'scale must be between 0 and 1', ), - assert( - numberOfCardsDisplayed >= 1 && numberOfCardsDisplayed <= cardsCount, - 'you must display at least one card, and no more than [cardsCount]', - ), + // assert( + // numberOfCardsDisplayed >= 1 && numberOfCardsDisplayed <= cardsCount, + // 'you must display at least one card, and no more than [cardsCount]', + // ), assert( initialIndex >= 0 && initialIndex < cardsCount, 'initialIndex must be between 0 and [cardsCount]',