WIP #183 Custom names and icons

This commit is contained in:
Yegor Vialov
2018-11-15 19:08:47 +02:00
parent 37ad5e81cf
commit c5942d22b3
33 changed files with 153 additions and 97 deletions

View File

@ -0,0 +1,14 @@
part of '../main.dart';
class EntityWrapper {
String displayName;
String icon;
Entity entity;
EntityWrapper({this.entity, String icon, String displayName}) {
this.icon = icon ?? entity.icon;
this.displayName = displayName ?? entity.displayName;
}
}