flag_flutter icon indicating copy to clipboard operation
flag_flutter copied to clipboard

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

Open nimeacuerdo opened this issue 2 years ago • 0 comments

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!

nimeacuerdo avatar Feb 20 '22 18:02 nimeacuerdo