Description
[Describe the bug
FaIcon widgets are bigger than expected. This widget: FaIcon(FontAwesomeIcons.one, size: 200)
, for example, renders at about 100x209 pixels.
To reproduce
In the following example you can clearly see that the height of the container is greater than 200 pixels. Using the Flutter devtools, you can see that the size of the FaIcon widget is 100x209 pixels.
Container(
decoration: BoxDecoration(border: Border.all()),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
const FaIcon(FontAwesomeIcons.one, size: 200),
Container(width: 10, height: 200, color: Colors.red),
],
),
),
Expected behavior
I would expect the height of the icon in the example to be 200 pixels
Desktop
Taken from flutter doctor
:
Flutter (Channel stable, 3.24.4, on NixOS 25.05 (Warbler) 6.6.64, locale en_US.UTF-8)
I do not currently have the necessary tools installed to run this example in debug mode on any platform other than Linux, although I can confirm that this problem is also present when building for the web, with the same observation as on my NixOS desktop with the example above.