BadgeConfig constructor

BadgeConfig({
  1. required bool showBage,
  2. TDBadge? tdBadge,
  3. double? badgeTopOffset,
  4. double? badgeRightOffset,
})

Implementation

BadgeConfig(
    {required this.showBage,
    TDBadge? tdBadge,
    this.badgeTopOffset,
    this.badgeRightOffset})
    : tdBadge = tdBadge ?? const TDBadge(TDBadgeType.redPoint);