Hashflag is a new addition in Twitter which displays the country’s flag next to its name.
However, this feature will work only when using the country name in a 3 character abbreviation form.
For example: If you want to display hashflag for Brazil, the text should be #Bra.
However, this feature won’t work if the complete country name #Brazil. Please see the below image for reference.