ziofat / material_design_icons_flutter

The Material Design Icons (https://materialdesignicons.com/) Icon pack available as set of Flutter Icons.
MIT License
166 stars 33 forks source link

The icons are all a little de-centered #10

Open MasiaVittorio opened 4 years ago

MasiaVittorio commented 4 years ago

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?

ziofat commented 4 years ago

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

ziofat commented 4 years ago

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.