CustomChip constructor

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

Creates a CustomChip.

Implementation

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