StacChip constructor
const
StacChip({
- StacWidget? avatar,
- required StacWidget label,
- StacTextStyle? labelStyle,
- StacEdgeInsets? labelPadding,
- StacWidget? deleteIcon,
- StacAction? onDeleted,
- String? deleteIconColor,
- String? deleteButtonTooltipMessage,
- StacBorderSide? side,
- StacShapeBorder? shape,
- StacClip? clipBehavior,
- bool? autofocus,
- String? color,
- String? backgroundColor,
- StacEdgeInsets? padding,
- StacVisualDensity? visualDensity,
- StacMaterialTapTargetSize? materialTapTargetSize,
- double? elevation,
- String? shadowColor,
- String? surfaceTintColor,
- StacBoxConstraints? avatarBoxConstraints,
- StacBoxConstraints? deleteIconBoxConstraints,
Creates a StacChip.
Implementation
const StacChip({
this.avatar,
required this.label,
this.labelStyle,
this.labelPadding,
this.deleteIcon,
this.onDeleted,
this.deleteIconColor,
this.deleteButtonTooltipMessage,
this.side,
this.shape,
this.clipBehavior,
this.autofocus,
this.color,
this.backgroundColor,
this.padding,
this.visualDensity,
this.materialTapTargetSize,
this.elevation,
this.shadowColor,
this.surfaceTintColor,
this.avatarBoxConstraints,
this.deleteIconBoxConstraints,
});