TUIChip constructor

const TUIChip({
  1. Key? key,
  2. required String title,
  3. TUIChipSize size = TUIChipSize.m,
  4. bool highlighted = false,
  5. IconData? leftIcon,
  6. TUIImage? leftIconImage,
  7. String? badgeValue,
  8. IconData? rightIcon,
  9. VoidCallback? onRightIconTap,
})

Implementation

const TUIChip({
  super.key,
  required this.title,
  this.size = TUIChipSize.m,
  this.highlighted = false,
  this.leftIcon,
  this.leftIconImage,
  this.badgeValue,
  this.rightIcon,
  this.onRightIconTap,
});