AuiChip.soft constructor

const AuiChip.soft({
  1. Key? key,
  2. required String label,
  3. Widget? avatar,
  4. VoidCallback? onTap,
  5. VoidCallback? onDelete,
  6. bool selected = false,
  7. Color? color,
  8. TextStyle? labelStyle,
  9. EdgeInsetsGeometry? padding,
  10. bool disabled = false,
})

Creates an AuiChip with a lightly tinted background and a subtle border.

Implementation

const AuiChip.soft({
  super.key,
  required this.label,
  this.avatar,
  this.onTap,
  this.onDelete,
  this.selected = false,
  this.color,
  this.labelStyle,
  this.padding,
  this.disabled = false,
}) : _variant = _AuiChipVariant.soft;