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 '../animation/animated_value.dart'; | 5 import '../animation/animated_value.dart'; |
6 import '../fn2.dart'; | 6 import '../fn2.dart'; |
7 import '../theme2/colors.dart'; | 7 import '../theme2/colors.dart'; |
8 import '../theme2/shadows.dart'; | 8 import '../theme2/shadows.dart'; |
9 import 'animated_component.dart'; | 9 import 'animated_component.dart'; |
10 import 'dart:async'; | 10 import 'dart:async'; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 })); | 114 })); |
115 | 115 |
116 // inlineStyle: _inlineStyle(), | 116 // inlineStyle: _inlineStyle(), |
117 return new ShrinkWrapWidth( | 117 return new ShrinkWrapWidth( |
118 child: new Container( | 118 child: new Container( |
119 padding: const EdgeDims.all(8.0), | 119 padding: const EdgeDims.all(8.0), |
120 decoration: new BoxDecoration( | 120 decoration: new BoxDecoration( |
121 backgroundColor: Grey[50], | 121 backgroundColor: Grey[50], |
122 borderRadius: 2.0, | 122 borderRadius: 2.0, |
123 boxShadow: Shadow[level]), | 123 boxShadow: Shadow[level]), |
124 child: new BlockContainer(children: children) | 124 child: new Block(children) |
125 ) | 125 ) |
126 ); | 126 ); |
127 } | 127 } |
128 | 128 |
129 } | 129 } |
OLD | NEW |