LunaGao / flag_flutter

flag icons
https://pub.dev/packages/flag
BSD 2-Clause "Simplified" License
63 stars 60 forks source link

Issue with JP flag rendering, along some others, in 6.0.0 #70

Closed nimeacuerdo closed 1 year ago

nimeacuerdo commented 2 years ago

Hi,

After switching from version 5.0.1 to 6.0.0 I am seeing some flags being incorrectly rendered in my app.

This is an example of Japan (the red spot should be centered):

Screenshot 2022-02-20 at 19 55 35

whereas others, like Mexico, work fine:

Screenshot 2022-02-20 at 19 55 24

The flag is being rendered inside a TabBar like this:

Tab(
  icon: Flag.fromString(
  UpdateService().getLocation(),
  width: SizeConfig.blockSizeHorizontal * 10,
  height: SizeConfig.blockSizeVertical * 5,
)),

Thanks in advance!