Entity class refactoring
This commit is contained in:
@ -211,12 +211,6 @@ class Entity {
|
||||
);
|
||||
}
|
||||
|
||||
Widget buildHistoryWidget() {
|
||||
return EntityHistoryWidget(
|
||||
config: historyConfig,
|
||||
);
|
||||
}
|
||||
|
||||
Widget buildBadgeWidget(BuildContext context) {
|
||||
return EntityModel(
|
||||
entityWrapper: EntityWrapper(entity: this),
|
||||
|
@ -54,7 +54,7 @@ class EntityPageLayout extends StatelessWidget {
|
||||
Divider(),
|
||||
this.entity._buildAdditionalControlsForPage(context),
|
||||
Divider(),
|
||||
this.entity.buildHistoryWidget(),
|
||||
EntityHistoryWidget(),
|
||||
EntityAttributesList()
|
||||
]
|
||||
),
|
||||
|
Reference in New Issue
Block a user