SwipeCards constructor

SwipeCards({
  1. Key? key,
  2. required MatchEngine matchEngine,
  3. required Function onStackFinished,
  4. required IndexedWidgetBuilder itemBuilder,
  5. Widget? likeTag,
  6. Widget? nopeTag,
  7. Widget? superLikeTag,
  8. bool fillSpace = true,
  9. bool upSwipeAllowed = false,
  10. bool leftSwipeAllowed = true,
  11. bool rightSwipeAllowed = true,
  12. dynamic itemChanged(
    1. SwipeItem,
    2. int
    )?,
})

Implementation

SwipeCards({
  Key? key,
  required this.matchEngine,
  required this.onStackFinished,
  required this.itemBuilder,
  this.likeTag,
  this.nopeTag,
  this.superLikeTag,
  this.fillSpace = true,
  this.upSwipeAllowed = false,
  this.leftSwipeAllowed = true,
  this.rightSwipeAllowed = true,
  this.itemChanged,
}) : super(key: key);