OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 import 'curves.dart'; | 5 import 'curves.dart'; |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'generators.dart'; | 7 import 'generators.dart'; |
8 | 8 |
9 typedef void Callback (); | 9 typedef void Callback (); |
10 | 10 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 return _completer.future; | 73 return _completer.future; |
74 } | 74 } |
75 | 75 |
76 double get remainingTime { | 76 double get remainingTime { |
77 if (_animation == null) | 77 if (_animation == null) |
78 return 0.0; | 78 return 0.0; |
79 return _animation.remainingTime; | 79 return _animation.remainingTime; |
80 } | 80 } |
81 | 81 |
82 } | 82 } |
OLD | NEW |