| Index: sky/sdk/lib/theme/shadows.dart
|
| diff --git a/sky/sdk/lib/theme/shadows.dart b/sky/sdk/lib/theme/shadows.dart
|
| index 4f5697fdeb663c3d5901eeef565522b5309eb95a..d163a350969428d5fdd55b9af257e1c54ca53c74 100644
|
| --- a/sky/sdk/lib/theme/shadows.dart
|
| +++ b/sky/sdk/lib/theme/shadows.dart
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -import 'dart:sky' show Color, Size;
|
| +import 'dart:sky' show Color, Offset;
|
|
|
| import '../painting/box_painter.dart';
|
|
|
| @@ -10,51 +10,51 @@ const Map<int, List<BoxShadow>> shadows = const {
|
| 1: const [
|
| const BoxShadow(
|
| color: const Color(0x1F000000),
|
| - offset: const Size(0.0, 1.0),
|
| + offset: const Offset(0.0, 1.0),
|
| blur: 3.0),
|
| const BoxShadow(
|
| color: const Color(0x3D000000),
|
| - offset: const Size(0.0, 1.0),
|
| + offset: const Offset(0.0, 1.0),
|
| blur: 2.0),
|
| ],
|
| 2: const [
|
| const BoxShadow(
|
| color: const Color(0x29000000),
|
| - offset: const Size(0.0, 3.0),
|
| + offset: const Offset(0.0, 3.0),
|
| blur: 6.0),
|
| const BoxShadow(
|
| color: const Color(0x3B000000),
|
| - offset: const Size(0.0, 3.0),
|
| + offset: const Offset(0.0, 3.0),
|
| blur: 6.0),
|
| ],
|
| 3: const [
|
| const BoxShadow(
|
| color: const Color(0x30000000),
|
| - offset: const Size(0.0, 10.0),
|
| + offset: const Offset(0.0, 10.0),
|
| blur: 20.0),
|
| const BoxShadow(
|
| color: const Color(0x3B000000),
|
| - offset: const Size(0.0, 6.0),
|
| + offset: const Offset(0.0, 6.0),
|
| blur: 6.0),
|
| ],
|
| 4: const [
|
| const BoxShadow(
|
| color: const Color(0x40000000),
|
| - offset: const Size(0.0, 14.0),
|
| + offset: const Offset(0.0, 14.0),
|
| blur: 28.0),
|
| const BoxShadow(
|
| color: const Color(0x38000000),
|
| - offset: const Size(0.0, 10.0),
|
| + offset: const Offset(0.0, 10.0),
|
| blur: 10.0),
|
| ],
|
| 5: const [
|
| const BoxShadow(
|
| color: const Color(0x4E000000),
|
| - offset: const Size(0.0, 19.0),
|
| + offset: const Offset(0.0, 19.0),
|
| blur: 28.0),
|
| const BoxShadow(
|
| color: const Color(0x38000000),
|
| - offset: const Size(0.0, 15.0),
|
| + offset: const Offset(0.0, 15.0),
|
| blur: 12.0),
|
| ],
|
| };
|
|
|