Chip constructor
const
Chip({
- Key? key,
- required Widget label,
- Widget? avatar,
- TextStyle? labelStyle,
- Color? backgroundColor,
- EdgeInsetsGeometry? padding,
- double? elevation,
- OutlinedBorder? shape,
- VoidCallback? onDeleted,
- Widget? deleteIcon,
- Color? deleteIconColor,
- String? tooltip,
- VisualDensity? visualDensity,
Implementation
const Chip({
super.key,
required this.label,
this.avatar,
this.labelStyle,
this.backgroundColor,
this.padding,
this.elevation,
this.shape,
this.onDeleted,
this.deleteIcon,
this.deleteIconColor,
this.tooltip,
this.visualDensity,
});