SwipeCards constructor
SwipeCards({
- Key? key,
- required MatchEngine matchEngine,
- required Function onStackFinished,
- required IndexedWidgetBuilder itemBuilder,
- Widget? likeTag,
- Widget? nopeTag,
- Widget? superLikeTag,
- bool fillSpace = true,
- bool upSwipeAllowed = false,
- bool leftSwipeAllowed = true,
- bool rightSwipeAllowed = true,
- dynamic itemChanged()?,
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);