CustomChip constructor

const CustomChip({
  1. Key? key,
  2. required String label,
  3. IconData? icon,
  4. VoidCallback? onPressed,
  5. VoidCallback? onDeleted,
  6. bool selected = false,
  7. ChipVariant variant = ChipVariant.filled,
})

Implementation

const CustomChip({
  super.key,
  required this.label,
  this.icon,
  this.onPressed,
  this.onDeleted,
  this.selected = false,
  this.variant = ChipVariant.filled,
});