| OLD | NEW |
| 1 // | 1 // |
| 2 // Copyright 2014 Google Inc. All rights reserved. | 2 // Copyright 2014 Google Inc. All rights reserved. |
| 3 // | 3 // |
| 4 // Use of this source code is governed by a BSD-style | 4 // Use of this source code is governed by a BSD-style |
| 5 // license that can be found in the LICENSE file or at | 5 // license that can be found in the LICENSE file or at |
| 6 // https://developers.google.com/open-source/licenses/bsd | 6 // https://developers.google.com/open-source/licenses/bsd |
| 7 // | 7 // |
| 8 | 8 |
| 9 /// A collection of interpolator generators and easing functions. | 9 /// A collection of interpolator generators and easing functions. |
| 10 /// | 10 /// |
| 11 /// Interpolators provide intermediate state when transitioning from one | 11 /// Interpolators provide intermediate state when transitioning from one |
| 12 /// frame to another in an animation. | 12 /// frame to another in an animation. |
| 13 /// | 13 /// |
| 14 /// Easing functions indicate progress of an animation to interpolators. | 14 /// Easing functions indicate progress of an animation to interpolators. |
| 15 /// | 15 /// |
| 16 /// Currently provides interpolator for various types, including basic types | 16 /// Currently provides interpolator for various types, including basic types |
| 17 /// like numbers, colors, strings, transforms and for iterables. | 17 /// like numbers, colors, strings, transforms and for iterables. |
| 18 library charted.core.interpolators; | 18 library charted.core.interpolators; |
| 19 | 19 |
| 20 import 'dart:math' as math; | 20 import 'dart:math' as math; |
| 21 import 'package:charted/core/utils.dart'; | 21 import 'package:charted/core/utils.dart'; |
| 22 | 22 |
| 23 part 'interpolators/interpolators.dart'; | 23 part 'interpolators/interpolators.dart'; |
| 24 part 'interpolators/easing.dart'; | 24 part 'interpolators/easing.dart'; |
| OLD | NEW |