updateBadgeCount method
Update the badge count E.g. MyNavigationHub.updateBadgeCount(tab: 0, count: 2);
Implementation
updateBadgeCount({required int tab, required int count}) {
updateState(_navigationTabStateName(tab), data: count);
}
Update the badge count E.g. MyNavigationHub.updateBadgeCount(tab: 0, count: 2);
updateBadgeCount({required int tab, required int count}) {
updateState(_navigationTabStateName(tab), data: count);
}