CouponItem constructor

const CouponItem({
  1. Key? key,
  2. required CouponTranslate translate,
  3. required Coupon coupon,
  4. required String getCurrencyFormatted(
    1. double coupon
    ),
  5. dynamic onSelect(
    1. String couponCode
    )?,
  6. String? email,
  7. bool isFromCart = false,
})

Implementation

const CouponItem({
  Key? key,
  required this.translate,
  required this.coupon,
  required this.getCurrencyFormatted,
  this.onSelect,
  this.email,
  this.isFromCart = false,
}) : super(key: key);