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

Unified Diff: sky/sdk/example/stocks/lib/stock_home.dart

Issue 1228273002: Fix analyzer warning (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more Created 5 years, 5 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 | « no previous file | sky/sdk/lib/widgets/material.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/stocks/lib/stock_home.dart
diff --git a/sky/sdk/example/stocks/lib/stock_home.dart b/sky/sdk/example/stocks/lib/stock_home.dart
index 0ef7b1e7118c22bc49f31b60c879afd40de6e829..9d581f0ce5e52efc88b53838e0c5f5f89e5bd198 100644
--- a/sky/sdk/example/stocks/lib/stock_home.dart
+++ b/sky/sdk/example/stocks/lib/stock_home.dart
@@ -272,7 +272,7 @@ class StockHome extends AnimatedComponent {
_snackbarTransform = new AnimatedContainer()
..position = new AnimatedType<Point>(const Point(0.0, 45.0), end: Point.origin);
var performance = _snackbarTransform.createPerformance(
- _snackbarTransform.position, duration: _kSnackbarSlideDuration);
+ [_snackbarTransform.position], duration: _kSnackbarSlideDuration);
watchPerformance(performance);
performance.play();
});
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698