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 library components_ink_splash; | |
6 | |
7 import '../animation/animated_value.dart'; | 5 import '../animation/animated_value.dart'; |
8 import '../animation/curves.dart'; | 6 import '../animation/curves.dart'; |
9 import '../fn.dart'; | 7 import '../fn.dart'; |
10 import '../theme/view_configuration.dart' as config; | 8 import '../theme/view_configuration.dart' as config; |
11 import 'dart:async'; | 9 import 'dart:async'; |
12 import 'dart:math' as math; | 10 import 'dart:math' as math; |
13 import '../layout.dart'; | 11 import '../layout.dart'; |
14 | 12 |
15 const double _kSplashConfirmedDuration = 350.0; | 13 const double _kSplashConfirmedDuration = 350.0; |
16 const double _kSplashUnconfirmedDuration = config.kDefaultLongPressTimeout; | 14 const double _kSplashUnconfirmedDuration = config.kDefaultLongPressTimeout; |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 style: _clipperStyle, | 132 style: _clipperStyle, |
135 children: [ | 133 children: [ |
136 new Container( | 134 new Container( |
137 inlineStyle: _inlineStyle, | 135 inlineStyle: _inlineStyle, |
138 style: _splashStyle | 136 style: _splashStyle |
139 ) | 137 ) |
140 ] | 138 ] |
141 ); | 139 ); |
142 } | 140 } |
143 } | 141 } |
OLD | NEW |