xChip method
Widget
xChip
(- {Widget avatar,
- Widget label,
- TextStyle labelStyle,
- EdgeInsetsGeometry labelPadding,
- ShapeBorder shape,
- Clip clipBehavior,
- FocusNode focusNode,
- bool autofocus,
- Color backgroundColor,
- EdgeInsetsGeometry padding,
- VisualDensity visualDensity,
- Widget deleteIcon,
- VoidCallback onDeleted,
- Color deleteIconColor,
- String deleteButtonTooltipMessage,
- MaterialTapTargetSize materialTapTargetSize,
- double elevation,
- Color shadowColor,
- Key key}
)
Implementation
Widget xChip({
final Widget avatar,
final Widget label,
final TextStyle labelStyle,
final EdgeInsetsGeometry labelPadding,
final ShapeBorder shape,
final Clip clipBehavior,
final FocusNode focusNode,
final bool autofocus,
final Color backgroundColor,
final EdgeInsetsGeometry padding,
final VisualDensity visualDensity,
final Widget deleteIcon,
final VoidCallback onDeleted,
final Color deleteIconColor,
final String deleteButtonTooltipMessage,
final MaterialTapTargetSize materialTapTargetSize,
final double elevation,
final Color shadowColor,
final Key key,
}) {
return Chip(
key: key,
label: this,
avatar: avatar,
labelStyle: labelStyle,
labelPadding: labelPadding,
deleteIcon: deleteIcon,
onDeleted: onDeleted,
deleteIconColor: deleteIconColor,
deleteButtonTooltipMessage: deleteButtonTooltipMessage,
shape: shape,
clipBehavior: clipBehavior ?? Clip.none,
focusNode: focusNode,
autofocus: autofocus ?? true,
backgroundColor: backgroundColor,
padding: padding,
visualDensity: visualDensity,
materialTapTargetSize: materialTapTargetSize,
elevation: elevation ?? 0.0,
shadowColor: shadowColor,
);
}