This commit is contained in:
Yegor Vialov
2018-11-14 19:52:17 +02:00
parent 874410964d
commit 25bf10a64e
11 changed files with 123 additions and 10 deletions

View File

@ -6,11 +6,13 @@ class HACard {
String name;
String id;
String type;
int columnsCount;
HACard({
this.name,
this.id,
this.linkedEntity,
this.columnsCount: 4,
@required this.type
});
@ -23,6 +25,12 @@ class HACard {
);
}
case "glance": {
return GlanceCardWidget(
card: this,
);
}
case "media-control": {
return MediaControlCardWidget(
card: this,