Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Unified Diff: packages/charted/lib/charts/chart_state.dart

Issue 2213693002: Updated charted DEP to 0.4.X (Closed) Base URL: https://github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/charted/lib/charts/chart_events.dart ('k') | packages/charted/lib/charts/chart_theme.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « packages/charted/lib/charts/chart_events.dart ('k') | packages/charted/lib/charts/chart_theme.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698