minor fix
This commit is contained in:
parent
19325b5b7f
commit
8a1f539668
@ -98,11 +98,10 @@ class EntityIcon extends StatelessWidget {
|
|||||||
(entityWrapper.entity as LightEntity).color.toColor() != Colors.white
|
(entityWrapper.entity as LightEntity).color.toColor() != Colors.white
|
||||||
) {
|
) {
|
||||||
Color lightColor = (entityWrapper.entity as LightEntity).color.toColor();
|
Color lightColor = (entityWrapper.entity as LightEntity).color.toColor();
|
||||||
const iconCodeConst = const iconCode;
|
|
||||||
iconWidget = Stack(
|
iconWidget = Stack(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Icon(
|
Icon(
|
||||||
const IconData(iconCodeConst, fontFamily: 'Material Design Icons'),
|
IconData(iconCodeConst, fontFamily: 'Material Design Icons'),
|
||||||
size: size,
|
size: size,
|
||||||
color: iconColor,
|
color: iconColor,
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user