Index: sky/framework/animation/generator.dart |
diff --git a/sky/examples/fn/widgets/animationgenerator.dart b/sky/framework/animation/generator.dart |
similarity index 86% |
rename from sky/examples/fn/widgets/animationgenerator.dart |
rename to sky/framework/animation/generator.dart |
index ef916548946b2892db204aaee920b0ae8470ff76..cd34fae08b35d72ff2cd773c8065a799fdd3060a 100644 |
--- a/sky/examples/fn/widgets/animationgenerator.dart |
+++ b/sky/framework/animation/generator.dart |
@@ -1,7 +1,13 @@ |
-part of widgets; |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
-class FrameGenerator { |
+import 'curves.dart'; |
+import 'dart:async'; |
+import 'dart:math' as math; |
+import 'dart:sky' as sky; |
+class FrameGenerator { |
Function onDone; |
StreamController _controller; |
@@ -46,7 +52,6 @@ class FrameGenerator { |
} |
class AnimationGenerator extends FrameGenerator { |
- |
Stream<double> get onTick => _stream; |
final double duration; |
final double begin; |