HMSelectBadge constructor

const HMSelectBadge({
  1. Key? key,
  2. bool disabled = false,
  3. bool hidden = false,
  4. HMRadius? radius,
  5. Color? chipColor,
  6. bool? isFilled,
  7. Widget? deleteIcon,
  8. Color? textColor,
  9. Color? deleteIconColor,
  10. required List<HMSelectedItem> selectedList,
  11. required void onDeleted(
    1. String deletedValue
    ),
  12. bool showDeleteIcon = true,
})

Implementation

const HMSelectBadge({
  super.key,
  this.disabled = false,
  this.hidden = false,
  this.radius,
  this.chipColor,
  this.isFilled,
  this.deleteIcon,
  this.textColor,
  this.deleteIconColor,
  required this.selectedList,
  required this.onDeleted,
  this.showDeleteIcon = true,
});