const
Chip(- {Key? key,
- Widget? avatar,
- required Widget label,
- TextStyle? labelStyle,
- EdgeInsets? labelPadding,
- Widget? deleteIcon,
- Callback? onDeleted,
- Color? deleteIconColor,
- String? deleteButtonTooltipMessage,
- BorderSide? side,
- ShapeBorder? shape,
- Clip clipBehavior,
- bool autofocus,
- Color? backgroundColor,
- EdgeInsets? padding,
- VisualDensity? visualDensity,
- MaterialTapTargetSize? materialTapTargetSize,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor}
)
Implementation
const factory Chip(
{final Key? key,
final Widget? avatar,
required final Widget label,
final TextStyle? labelStyle,
final EdgeInsets? labelPadding,
final Widget? deleteIcon,
final Callback? onDeleted,
final Color? deleteIconColor,
final String? deleteButtonTooltipMessage,
final BorderSide? side,
final ShapeBorder? shape,
final Clip clipBehavior,
final bool autofocus,
final Color? backgroundColor,
final EdgeInsets? padding,
final VisualDensity? visualDensity,
final MaterialTapTargetSize? materialTapTargetSize,
final double? elevation,
final Color? shadowColor,
final Color? surfaceTintColor}) = _$Chip;