Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: sky/sdk/lib/framework/widgets/tool_bar.dart

Issue 1179713004: Material and RaisedButton. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/flex.dart'; 5 import '../rendering/flex.dart';
6 import '../theme2/shadows.dart'; 6 import '../theme2/shadows.dart';
7 import '../theme2/view_configuration.dart'; 7 import '../theme2/view_configuration.dart';
8 import 'wrappers.dart'; 8 import 'wrappers.dart';
9 9
10 class ToolBar extends Component { 10 class ToolBar extends Component {
(...skipping 25 matching lines...) Expand all
36 children.addAll(right); 36 children.addAll(right);
37 37
38 return new Container( 38 return new Container(
39 child: new Flex( 39 child: new Flex(
40 [new Container(child: new Flex(children), height: kToolBarHeight)], 40 [new Container(child: new Flex(children), height: kToolBarHeight)],
41 alignItems: FlexAlignItems.flexEnd 41 alignItems: FlexAlignItems.flexEnd
42 ), 42 ),
43 padding: new EdgeDims.symmetric(horizontal: 8.0), 43 padding: new EdgeDims.symmetric(horizontal: 8.0),
44 decoration: new BoxDecoration( 44 decoration: new BoxDecoration(
45 backgroundColor: backgroundColor, 45 backgroundColor: backgroundColor,
46 boxShadow: Shadow[2] 46 boxShadow: shadows[2]
47 ) 47 )
48 ); 48 );
49 } 49 }
50 50
51 } 51 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/widgets/scrollable.dart ('k') | sky/sdk/lib/framework/widgets/ui_node.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698