ContentChip constructor

const ContentChip({
  1. Key? key,
  2. required String text,
  3. Color? backgroundColor,
  4. Color? textColor,
  5. double? fontSize,
  6. FontWeight? fontWeight,
  7. EdgeInsetsGeometry? padding,
  8. double? borderRadius,
  9. Color? borderColor,
  10. double? borderWidth,
  11. IconData? prefixIcon,
  12. IconData? suffixIcon,
  13. double? iconSize,
  14. Color? iconColor,
  15. VoidCallback? onTap,
})

Implementation

const ContentChip({
  Key? key,
  required this.text,
  this.backgroundColor,
  this.textColor,
  this.fontSize,
  this.fontWeight,
  this.padding,
  this.borderRadius,
  this.borderColor,
  this.borderWidth,
  this.prefixIcon,
  this.suffixIcon,
  this.iconSize,
  this.iconColor,
  this.onTap,
}) : super(key: key);