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 'dart:sky' show Color, Size; |
| 6 |
5 import '../painting/box_painter.dart'; | 7 import '../painting/box_painter.dart'; |
6 import 'dart:sky' show Color, Size; | |
7 | 8 |
8 const Map<int, List<BoxShadow>> shadows = const { | 9 const Map<int, List<BoxShadow>> shadows = const { |
9 1: const [ | 10 1: const [ |
10 const BoxShadow( | 11 const BoxShadow( |
11 color: const Color(0x1F000000), | 12 color: const Color(0x1F000000), |
12 offset: const Size(0.0, 1.0), | 13 offset: const Size(0.0, 1.0), |
13 blur: 3.0), | 14 blur: 3.0), |
14 const BoxShadow( | 15 const BoxShadow( |
15 color: const Color(0x3D000000), | 16 color: const Color(0x3D000000), |
16 offset: const Size(0.0, 1.0), | 17 offset: const Size(0.0, 1.0), |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const BoxShadow( | 51 const BoxShadow( |
51 color: const Color(0x4E000000), | 52 color: const Color(0x4E000000), |
52 offset: const Size(0.0, 19.0), | 53 offset: const Size(0.0, 19.0), |
53 blur: 28.0), | 54 blur: 28.0), |
54 const BoxShadow( | 55 const BoxShadow( |
55 color: const Color(0x38000000), | 56 color: const Color(0x38000000), |
56 offset: const Size(0.0, 15.0), | 57 offset: const Size(0.0, 15.0), |
57 blur: 12.0), | 58 blur: 12.0), |
58 ], | 59 ], |
59 }; | 60 }; |
OLD | NEW |