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