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_drawer; |
| 6 |
5 import 'animated_component.dart'; | 7 import 'animated_component.dart'; |
6 import '../animation/animated_value.dart'; | 8 import '../animation/animated_value.dart'; |
7 import '../animation/curves.dart'; | 9 import '../animation/curves.dart'; |
8 import '../fn.dart'; | 10 import '../fn.dart'; |
9 import '../theme/colors.dart'; | 11 import '../theme/colors.dart'; |
10 import 'dart:math' as math; | 12 import 'dart:math' as math; |
11 import 'dart:sky' as sky; | 13 import 'dart:sky' as sky; |
12 import 'material.dart'; | 14 import 'material.dart'; |
13 | 15 |
14 const double _kWidth = 304.0; | 16 const double _kWidth = 304.0; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 style: _style, | 149 style: _style, |
148 children: [ mask, content ] | 150 children: [ mask, content ] |
149 ), | 151 ), |
150 onPointerDown: controller.handlePointerDown, | 152 onPointerDown: controller.handlePointerDown, |
151 onPointerMove: controller.handlePointerMove, | 153 onPointerMove: controller.handlePointerMove, |
152 onPointerUp: controller.handlePointerUp, | 154 onPointerUp: controller.handlePointerUp, |
153 onPointerCancel: controller.handlePointerCancel | 155 onPointerCancel: controller.handlePointerCancel |
154 ); | 156 ); |
155 } | 157 } |
156 } | 158 } |
OLD | NEW |