SwiperCard constructor
Implementation
const SwiperCard({
required this.order,
required this.child,
required this.totalCount,
}) : scale = 1 - (order * Constants.scaleFraction),
yOffset = order * Constants.yOffset;
const SwiperCard({
required this.order,
required this.child,
required this.totalCount,
}) : scale = 1 - (order * Constants.scaleFraction),
yOffset = order * Constants.yOffset;