effectiveShowDot property
bool
get
effectiveShowDot
Whether this badge should show a dot indicator.
Implementation
bool get effectiveShowDot {
// Card overlay badges don't show dots by default
if (isCardBadge || variant != BadgeVariant.status) {
return showDot && icon == null && !showDefaultIcon;
}
// Status badges show dots unless an icon is provided
return showDot && icon == null;
}