count property

int? count
final

The count to display in the badge.

If null (default), automatically fetches count from AppState.unreadNotificationCount and rebuilds when it changes. If provided, displays the specific count without automatic updates.

Implementation

final int? count;