flutter icon indicating copy to clipboard operation
flutter copied to clipboard

TikTokLogoFill Icon has extra padding on the right

Open pr-1 opened this issue 2 years ago • 2 comments

I am using phosphor icons in one of my projects and the tiktok filled icon has extra padding on the right.

Code ->

CircleAvatar(
                    backgroundColor: Colors.black,
                    child: Icon(PhosphorIcons.tiktokLogoFill, color: Colors.white,),
                  )

WhatsApp Image 2022-02-28 at 11 00 45 AM

When I use same thing with any other icon it gives exact results

CircleAvatar(
                    backgroundColor: Colors.black,
                    child: Icon(PhosphorIcons.tiktokLogo, color: Colors.white,),
                  )

WhatsApp Image 2022-02-28 at 11 00 57 AM Can you please check this out and let me know how to fix this ? Would be happy to open a PR

pr-1 avatar Feb 28 '22 06:02 pr-1

@rektdeckard Thanks for the great Icon set 🔥. Can you have a look at this ?

pr-1 avatar Feb 28 '22 06:02 pr-1

Appears to be same root cause as https://github.com/phosphor-icons/phosphor-home/issues/103, using regions of Unicode reserved for special characters. Fix there will fix in flutter package as well.

rektdeckard avatar Feb 28 '22 18:02 rektdeckard

Fixed in 2.0.0.

rektdeckard avatar Apr 05 '23 08:04 rektdeckard