WIP #183
This commit is contained in:
@ -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,
|
||||
|
@ -5,6 +5,7 @@ class Sizes {
|
||||
static const leftWidgetPadding = 8.0;
|
||||
static const extendedWidgetHeight = 50.0;
|
||||
static const iconSize = 28.0;
|
||||
static const largeIconSize = 34.0;
|
||||
static const stateFontSize = 16.0;
|
||||
static const nameFontSize = 16.0;
|
||||
static const smallFontSize = 14.0;
|
||||
|
Reference in New Issue
Block a user