Add icon support for entities card title

This commit is contained in:
Yegor Vialov
2020-04-25 18:23:26 +00:00
parent 02bfaf7db6
commit 05c1427aa8
4 changed files with 23 additions and 13 deletions

View File

@ -7,6 +7,7 @@ class HACard {
String name;
String id;
String type;
String icon;
bool showName;
bool showState;
bool showEmpty;
@ -40,6 +41,7 @@ class HACard {
this.max,
this.depth: 1,
this.severity,
this.icon,
@required this.type
}) {
if (this.columnsCount <= 0) {