This commit is contained in:
Yegor Vialov
2018-11-14 12:35:08 +02:00
parent 8a9641fbed
commit 86b6ad6bba
3 changed files with 19 additions and 12 deletions

View File

@ -10,16 +10,15 @@ class DefaultEntityContainer extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SizedBox(
child: Row(
children: <Widget>[
EntityIcon(),
Expanded(
child: EntityName(),
),
state
],
),
return Row(
mainAxisSize: MainAxisSize.max,
children: <Widget>[
EntityIcon(),
Expanded(
child: EntityName(),
),
state
],
);
}
}