Chip constructor

const Chip({
  1. Key? key,
  2. required Widget label,
  3. Widget? avatar,
  4. TextStyle? labelStyle,
  5. Color? backgroundColor,
  6. EdgeInsetsGeometry? padding,
  7. double? elevation,
  8. OutlinedBorder? shape,
  9. VoidCallback? onDeleted,
  10. Widget? deleteIcon,
  11. Color? deleteIconColor,
  12. String? tooltip,
  13. VisualDensity? visualDensity,
})

Implementation

const Chip({
  super.key,
  required this.label,
  this.avatar,
  this.labelStyle,
  this.backgroundColor,
  this.padding,
  this.elevation,
  this.shape,
  this.onDeleted,
  this.deleteIcon,
  this.deleteIconColor,
  this.tooltip,
  this.visualDensity,
});