ChipProps constructor

const ChipProps({
  1. required String label,
  2. Widget? icon,
  3. ColorVariant color = ColorVariant.secondary,
  4. StyleVariant style = StyleVariant.solid,
  5. ComponentSize size = ComponentSize.md,
  6. bool removable = false,
  7. void onRemove()?,
  8. void onTap()?,
})

Implementation

const ChipProps({
  required this.label,
  this.icon,
  this.color = ColorVariant.secondary,
  this.style = StyleVariant.solid,
  this.size = ComponentSize.md,
  this.removable = false,
  this.onRemove,
  this.onTap,
});