Full ui structure refactoring. InheritedWidget as entity model

This commit is contained in:
Yegor Vialov
2018-10-15 00:15:09 +03:00
parent b5f9ecf601
commit ffc053fbe6
17 changed files with 1118 additions and 960 deletions

View File

@ -45,7 +45,7 @@ class HACard extends StatelessWidget {
result.add(
Padding(
padding: EdgeInsets.fromLTRB(0.0, 10.0, 0.0, 10.0),
child: entity.buildWidget(context, EntityWidgetType.regular),
child: entity.buildDefaultWidget(context),
));
});
return result;