material_design_icons_flutter icon indicating copy to clipboard operation
material_design_icons_flutter copied to clipboard

The icons are all a little de-centered

Open MasiaVittorio opened this issue 6 years ago • 2 comments

If you put an icon from the material "Icons" inside a coloured Container, you'll notice it is perfectly centered. If you do so with any of the "MdiIcons" (even if you pick an icon that is also on the standard material library) you'll see it has a bit of a top padding and that breaks most of the buttons that use this library because seeing a FloatingActionButton with a non centered icon in it is not that pretty.

Is there even a solution to this?

MasiaVittorio avatar Jul 17 '19 08:07 MasiaVittorio

I will look into this soon. A little busy recently.

ziofat avatar Jul 18 '19 06:07 ziofat

I took a quick look and I do notice that MdiIcons have a bit offset down compare to Icons on my Pixel phone. But this does not appear on iPhone.

Meanwhile, I also tried to put two Icons (one is from Icons and one is from MdiIcons) in actions of an Appbar, and they are perfectly match.

I assume this might be related to FAB and I will test with other community icons later.

ziofat avatar Jul 18 '19 11:07 ziofat