Chip constructor
const
Chip({
- Key? key,
- required dynamic label,
- Widget? avatar,
- IconData? icon,
- bool selected = false,
- VoidCallback? onPressed,
- VoidCallback? onDeleted,
- Color? selectedColor,
- Color? selectedLabelColor,
- Color? backgroundColor,
- Color? labelColor,
- Color? borderColor,
- double? size,
- OutlinedBorder? shape,
- BorderSide? side,
- EdgeInsetsGeometry? padding,
Implementation
const Chip({
super.key,
required this.label,
this.avatar,
this.icon,
this.selected = false,
this.onPressed,
this.onDeleted,
this.selectedColor,
this.selectedLabelColor,
this.backgroundColor,
this.labelColor,
this.borderColor,
this.size,
this.shape,
this.side,
this.padding,
});