TDBadge constructor

const TDBadge(
  1. TDBadgeType type, {
  2. Key? key,
  3. String? count,
  4. TDBadgeBorder border = TDBadgeBorder.large,
  5. TDBadgeSize size = TDBadgeSize.small,
  6. Color? color,
  7. Color? textColor,
  8. String? message,
  9. double widthLarge = 32,
  10. double widthSmall = 12,
  11. EdgeInsetsGeometry? padding,
})

Implementation

const TDBadge(this.type,
    {Key? key,
    this.count,
    this.border = TDBadgeBorder.large,
    this.size = TDBadgeSize.small,
    this.color,
    this.textColor,
    this.message,
    this.widthLarge = 32,
    this.widthSmall = 12,
    this.padding})
    : super(key: key);