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

Unified Diff: sky/sdk/lib/framework/animation/animated_value.dart

Issue 1171273002: Move AnimatedComponent away from mirrors and towards a callback-based setter. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/framework/components2/animated_component.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/animation/animated_value.dart
diff --git a/sky/sdk/lib/framework/animation/animated_value.dart b/sky/sdk/lib/framework/animation/animated_value.dart
index daba4c70c350dd902c1e5a53e3ea1d37e184ebe2..8eeafa9d019bbf4f9f6a18cb7b54d91a600431a3 100644
--- a/sky/sdk/lib/framework/animation/animated_value.dart
+++ b/sky/sdk/lib/framework/animation/animated_value.dart
@@ -9,7 +9,7 @@ import 'generators.dart';
typedef void Callback ();
class AnimatedValue {
- StreamController _controller = new StreamController.broadcast(sync: true);
+ StreamController<double> _controller = new StreamController<double>.broadcast(sync: true);
AnimationGenerator _animation;
Completer _completer;
double _value;
« no previous file with comments | « no previous file | sky/sdk/lib/framework/components2/animated_component.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698