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