GradientChip constructor

const GradientChip({
  1. Key? key,
  2. required String label,
  3. IconData? icon,
  4. List<Color> colors = GradientChipPresets.featured,
  5. ChipStyle? style,
  6. SdChipThemeData? theme,
  7. bool selected = true,
  8. bool enabled = true,
  9. VoidCallback? onTap,
  10. ValueChanged<bool>? onSelected,
})

Creates a gradient chip.

Implementation

const GradientChip({
  super.key,
  required this.label,
  this.icon,
  this.colors = GradientChipPresets.featured,
  this.style,
  this.theme,
  this.selected = true,
  this.enabled = true,
  this.onTap,
  this.onSelected,
});