TatweerBadge constructor

const TatweerBadge({
  1. Key? key,
  2. required String text,
  3. Color? color,
  4. Color? textColor,
  5. String? size,
  6. String variant = 'filled',
  7. EdgeInsetsGeometry? padding,
  8. double? borderRadius,
  9. bool circular = false,
  10. IconData? icon,
  11. double? iconSize,
})

Implementation

const TatweerBadge({
  Key? key,
  required this.text,
  this.color,
  this.textColor,
  this.size,
  this.variant = 'filled',
  this.padding,
  this.borderRadius,
  this.circular = false,
  this.icon,
  this.iconSize,
}) : super(key: key);