StacChip constructor

const StacChip({
  1. StacWidget? avatar,
  2. required StacWidget label,
  3. StacTextStyle? labelStyle,
  4. StacEdgeInsets? labelPadding,
  5. StacWidget? deleteIcon,
  6. StacAction? onDeleted,
  7. String? deleteIconColor,
  8. String? deleteButtonTooltipMessage,
  9. StacBorderSide? side,
  10. StacShapeBorder? shape,
  11. StacClip? clipBehavior,
  12. bool? autofocus,
  13. String? color,
  14. String? backgroundColor,
  15. StacEdgeInsets? padding,
  16. StacVisualDensity? visualDensity,
  17. StacMaterialTapTargetSize? materialTapTargetSize,
  18. double? elevation,
  19. String? shadowColor,
  20. String? surfaceTintColor,
  21. StacBoxConstraints? avatarBoxConstraints,
  22. 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,
});