GlassChip constructor

const GlassChip({
  1. Key? key,
  2. required Widget label,
  3. Widget? icon,
  4. bool selected = false,
  5. ValueChanged<bool>? onSelected,
  6. VoidCallback? onDeleted,
  7. Color? selectedColor,
  8. bool enabled = true,
  9. FocusNode? focusNode,
  10. String? semanticLabel,
})

Creates a chip.

Implementation

const GlassChip({
  super.key,
  required this.label,
  this.icon,
  this.selected = false,
  this.onSelected,
  this.onDeleted,
  this.selectedColor,
  this.enabled = true,
  this.focusNode,
  this.semanticLabel,
});