flutter_weather_icons
flutter_weather_icons copied to clipboard
BUG: weather Icon is displayed with an offset
The weather icon is displayed with an offset to the bottom compared to other icons. Here is a screenshot of what I mean:
From top to bottom the icons are:
-
Icons.timer
-
MdiIcons.mapMarkerDistance
-
MdiIcons.speedometer
-
WeatherIcons.wiDust
As you can see, only the weather icon causes problems. Here is a screenshot with the Dart dev tools:
With WeatherIcons.wiSmog
it gets even more clear that is placed wrong:
The icon is embedded as follows:
// child of a container
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Row(
children: <Widget>[
Icon(icon, size: 36),
SizedBox(width: 12),
Text(textRight, style: TextStyle(fontSize: 18)),
],
),
Text(textLeft, style: TextStyle(fontSize: 18))
],
),