SalonCard constructor

const SalonCard({
  1. Key? key,
  2. required String title,
  3. required Widget image,
  4. String? subtitle,
  5. Widget? locationIcon,
  6. Widget? rateIcon,
  7. Widget? trailingIcon,
  8. String? ratingText,
  9. String? locationText,
  10. void onTap()?,
})

Implementation

const SalonCard({
  Key? key,
  required this.title,
  required this.image,
  this.subtitle,
  this.locationIcon,
  this.rateIcon,
  this.trailingIcon,
  this.ratingText,
  this.locationText,
  this.onTap,
}) : super(key: key);