Move animation curves into a Curves namespace

This commit is contained in:
Adam Barth
2015-10-19 18:08:52 -07:00
parent 529fa95f87
commit f79fdff2d0
19 changed files with 58 additions and 53 deletions

View File

@@ -17,8 +17,8 @@ class ProgressIndicatorAppState extends State<ProgressIndicatorApp> {
..variable = new AnimatedValue<double>(
0.0,
end: 1.0,
curve: new Interval(0.0, 0.9, curve: ease),
reverseCurve: ease
curve: new Interval(0.0, 0.9, curve: Curves.ease),
reverseCurve: Curves.ease
);
valueAnimation.addStatusListener((PerformanceStatus status) {
if (status == PerformanceStatus.dismissed || status == PerformanceStatus.completed)