This commit is contained in:
Yegor Vialov 2018-11-14 13:14:45 +02:00
parent 86b6ad6bba
commit f5434e26e5

View File

@ -8,6 +8,12 @@ class SliderEntity extends Entity {
double get valueStep => _getDoubleAttributeValue("step") ?? 1.0; double get valueStep => _getDoubleAttributeValue("step") ?? 1.0;
@override @override
EntityHistoryConfig historyConfig = EntityHistoryConfig(
chartType: EntityHistoryWidgetType.numericState,
numericState: true
);
/*@override
Widget _buildStatePart(BuildContext context) { Widget _buildStatePart(BuildContext context) {
return Expanded( return Expanded(
//width: 200.0, //width: 200.0,
@ -29,7 +35,7 @@ class SliderEntity extends Entity {
return SimpleEntityState( return SimpleEntityState(
expanded: false, expanded: false,
); );
} }*/
@override @override
Widget _buildAdditionalControlsForPage(BuildContext context) { Widget _buildAdditionalControlsForPage(BuildContext context) {