badgeNumber property

int? badgeNumber
final

Specify the number to display as the app icon's badge when the notification arrives.

Specify the number 0 to remove the current badge, if present. Greater than 0 to display a badge with that number. Specify null to leave the current badge unchanged.

Implementation

final int? badgeNumber;