Index: packages/charted/lib/charts/chart_state.dart |
diff --git a/packages/charted/lib/charts/chart_state.dart b/packages/charted/lib/charts/chart_state.dart |
index 7909ada63147fcbda01b771365bb5814968faea8..3b05e84e80e207bc1e087ef9bdad11ae54a9d5b6 100644 |
--- a/packages/charted/lib/charts/chart_state.dart |
+++ b/packages/charted/lib/charts/chart_state.dart |
@@ -35,7 +35,7 @@ abstract class ChartState implements ChangeNotifier { |
static const VAL_UNHIGHLIGHTED_CLASS = 'row-unhighlighted'; |
static const VAL_HOVERED_CLASS = 'row-hovered'; |
- static const COLUMN_CLASS_NAMES = const [ |
+ static const COLUMN_CLASS_NAMES = const <String>[ |
COL_SELECTED_CLASS, |
COL_UNSELECTED_CLASS, |
COL_PREVIEW_CLASS, |
@@ -45,7 +45,7 @@ abstract class ChartState implements ChangeNotifier { |
COL_HOVERED_CLASS |
]; |
- static const VALUE_CLASS_NAMES = const [ |
+ static const VALUE_CLASS_NAMES = const <String>[ |
COL_SELECTED_CLASS, |
COL_UNSELECTED_CLASS, |
COL_PREVIEW_CLASS, |
@@ -76,7 +76,7 @@ abstract class ChartState implements ChangeNotifier { |
/// Currently highlighted value, if any, represented as column and row. |
/// Highlight is result of a click on certain value. |
- Iterable<Pair<int, int>> highlights; |
+ Iterable<Pair<int, int>> get highlights; |
/// Currently hovered value, if any, represented as column and row. |
/// Hover is result of mouse moving over a certian value in chart. |