DailyOffer constructor

const DailyOffer({
  1. required String id,
  2. required String title,
  3. required String priceLabel,
  4. String? subtitle,
  5. String? badgeLabel,
  6. IconData icon = Icons.local_offer_rounded,
  7. bool isExpired = false,
})

Implementation

const DailyOffer({
  required this.id,
  required this.title,
  required this.priceLabel,
  this.subtitle,
  this.badgeLabel,
  this.icon = Icons.local_offer_rounded,
  this.isExpired = false,
});