semanticCount property

int? semanticCount
final

Overrides the number spoken by screen readers while the visual display remains capped at maxCount.

Ignored when semanticLabel is provided.

Example — badge shows "99+" visually but VoiceOver says "2500 notifications":

GlassBadge(
  count: items.length,
  semanticCount: items.length,
  child: ...,
)

Implementation

final int? semanticCount;