How can I dynamically remove a badge from a tab bar that I previously set with setBadgetText('text')
?
Official documentation doesn't mention a solution and if I try with setBadgeText('')
or setBadgeText()
I can see a right margin near the tab button - so I deduce it's not the right way.
Is there something like removeBadge()
?