TChip constructor

const TChip({
  1. Key? key,
  2. String? text,
  3. IconData? icon,
  4. Color? color,
  5. Color? background,
  6. Color? textColor,
  7. VoidCallback? onTap,
  8. EdgeInsetsGeometry? padding,
  9. BorderRadius? borderRadius,
  10. TVariant? type,
})

Implementation

const TChip({
  super.key,
  this.text,
  this.icon,
  this.color,
  this.background,
  this.textColor,
  this.onTap,
  this.padding,
  this.borderRadius,
  this.type,
});