lib updates

This commit is contained in:
estevez-dev
2020-08-25 13:15:14 +03:00
parent b68d6539b6
commit 19325b5b7f
2 changed files with 4 additions and 3 deletions

View File

@ -98,10 +98,11 @@ class EntityIcon extends StatelessWidget {
(entityWrapper.entity as LightEntity).color.toColor() != Colors.white
) {
Color lightColor = (entityWrapper.entity as LightEntity).color.toColor();
const iconCodeConst = const iconCode;
iconWidget = Stack(
children: <Widget>[
Icon(
IconData(iconCode, fontFamily: 'Material Design Icons'),
const IconData(iconCodeConst, fontFamily: 'Material Design Icons'),
size: size,
color: iconColor,
),