NashChip constructor

const NashChip({
  1. Key? key,
  2. required String label,
  3. Widget? avatar,
  4. IconData? icon,
  5. bool selected = false,
  6. VoidCallback? onPressed,
  7. VoidCallback? onDeleted,
  8. Color? selectedColor,
  9. Color? selectedLabelColor,
  10. Color? backgroundColor,
  11. Color? labelColor,
  12. Color? borderColor,
  13. double? size,
})

Implementation

const NashChip({
  super.key,
  required this.label,
  this.avatar,
  this.icon,
  this.selected = false,
  this.onPressed,
  this.onDeleted,
  this.selectedColor,
  this.selectedLabelColor,
  this.backgroundColor,
  this.labelColor,
  this.borderColor,
  this.size,
});