hotBadge static method

GradientChip hotBadge({
  1. Key? key,
  2. required String label,
  3. IconData? icon,
})

Creates a hot-sale chip.

Implementation

static GradientChip hotBadge({
  Key? key,
  required String label,
  IconData? icon,
}) {
  return GradientChip(
    key: key,
    label: label,
    icon: icon,
    colors: GradientChipPresets.hot,
  );
}