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

Unified Diff: sky/framework/animation/generators.dart

Issue 1017463002: Fix some checked mode errors in drawer.dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/framework/components/drawer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/animation/generators.dart
diff --git a/sky/framework/animation/generators.dart b/sky/framework/animation/generators.dart
index e0ac5fbe425324af95b38ca93a6fcf82cd8fc143..3f05eee382ca642938843d913cb117b992e7cd11 100644
--- a/sky/framework/animation/generators.dart
+++ b/sky/framework/animation/generators.dart
@@ -77,6 +77,7 @@ class AnimationGenerator extends Generator {
this.curve: linear,
Function onDone
}) {
+ assert(curve != null);
assert(duration != null && duration > 0.0);
_generator = new FrameGenerator(onDone: onDone);
« no previous file with comments | « no previous file | sky/framework/components/drawer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698