CustomChip constructor
const
CustomChip({
- Key? key,
- required String label,
- IconData? icon,
- VoidCallback? onPressed,
- VoidCallback? onDeleted,
- bool selected = false,
- ChipVariant variant = ChipVariant.filled,
Implementation
const CustomChip({
super.key,
required this.label,
this.icon,
this.onPressed,
this.onDeleted,
this.selected = false,
this.variant = ChipVariant.filled,
});