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. double iconSize = 75.0,
  8. double iconPadding = 24.0,
  9. bool isFromCart = false,
  10. TextStyle? textStyle,
})

Implementation

const CouponItem({
  super.key,
  required this.translate,
  required this.coupon,
  required this.getCurrencyFormatted,
  this.onSelect,
  this.email,
  this.iconSize = 75.0,
  this.iconPadding = 24.0,
  this.isFromCart = false,
  this.textStyle,
});