I have to consider both layout directions RTL and LTR, and in the requirements, they required to make the badge on the top right of the icon but when I used the badgeGravity