TDBadge constructor
const
TDBadge(
- TDBadgeType type, {
- Key? key,
- String? count,
- TDBadgeBorder border = TDBadgeBorder.large,
- TDBadgeSize size = TDBadgeSize.small,
- Color? color,
- Color? textColor,
- String? message,
- double widthLarge = 32,
- double widthSmall = 12,
- 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);