KRCellProductFresh constructor

const KRCellProductFresh({
  1. Key? key,
  2. String imgURL = "http://via.placeholder.com/350x150",
  3. required String title,
  4. required String subtitle,
  5. required String caption,
  6. required List<String> freshImages,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(KRTheme.PADDING_NORMAL),
  8. int backgroundFavoriteColor = KRTheme.DEFAULT_PRIMARY_LIGHT_COLOR,
  9. int backgroundDiscountColor = KRTheme.DEFAULT_PRIMARY_COLOR,
  10. String? cartCountText,
  11. String? discountText,
  12. int textColor = KRTheme.DEFAULT_DARK_COLOR,
})

Implementation

const KRCellProductFresh({
  Key? key,
  this.imgURL = "http://via.placeholder.com/350x150",
  required this.title,
  required this.subtitle,
  required this.caption,
  required this.freshImages,
  this.padding = const EdgeInsets.all(KRTheme.PADDING_NORMAL),
  this.backgroundFavoriteColor = KRTheme.DEFAULT_PRIMARY_LIGHT_COLOR,
  this.backgroundDiscountColor = KRTheme.DEFAULT_PRIMARY_COLOR,
  this.cartCountText,
  this.discountText,
  this.textColor = KRTheme.DEFAULT_DARK_COLOR,
}) : super(key: key);