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