IconChip constructor

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

Creates an icon chip.

Implementation

const IconChip({
  super.key,
  required this.label,
  required this.icon,
  this.style,
  this.theme,
  this.selected,
  this.initialSelected = false,
  this.enabled = true,
  this.onSelected,
  this.onTap,
});