ContactChip constructor

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

Creates a contact chip.

Implementation

const ContactChip({
  super.key,
  required this.name,
  this.avatarUrl,
  this.initials,
  this.style,
  this.theme,
  this.selected = false,
  this.enabled = true,
  this.onSelected,
  this.onTap,
});