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

Side by Side Diff: sky/examples/stocks2/lib/stock_row.dart

Issue 1181533002: Rename BlockContainer, StackContainer, and FlexContainer (Closed) Base URL: git@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
« no previous file with comments | « sky/examples/stocks2/lib/stock_app.dart ('k') | sky/sdk/lib/framework/components2/drawer.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'dart:sky' as sky; 5 import 'dart:sky' as sky;
6 import 'package:sky/framework/components2/ink_well.dart'; 6 import 'package:sky/framework/components2/ink_well.dart';
7 import 'package:sky/framework/fn2.dart'; 7 import 'package:sky/framework/fn2.dart';
8 import 'package:sky/framework/rendering/flex.dart'; 8 import 'package:sky/framework/rendering/flex.dart';
9 import 'package:sky/framework/rendering/box.dart'; 9 import 'package:sky/framework/rendering/box.dart';
10 import 'package:sky/framework/theme/typography.dart' as typography; 10 import 'package:sky/framework/theme/typography.dart' as typography;
(...skipping 26 matching lines...) Expand all
37 ]; 37 ];
38 38
39 // TODO(hansmuller): An explicit |height| shouldn't be needed 39 // TODO(hansmuller): An explicit |height| shouldn't be needed
40 return new InkWell(children: [ 40 return new InkWell(children: [
41 new Container( 41 new Container(
42 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), 42 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0),
43 height: kHeight, 43 height: kHeight,
44 decoration: const BoxDecoration( 44 decoration: const BoxDecoration(
45 border: const Border( 45 border: const Border(
46 bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))), 46 bottom: const BorderSide(color: const sky.Color(0xFFF4F4F4)))),
47 child: new FlexContainer(children: children) 47 child: new Flex(children)
48 ) 48 )
49 ]); 49 ]);
50 } 50 }
51 } 51 }
OLDNEW
« no previous file with comments | « sky/examples/stocks2/lib/stock_app.dart ('k') | sky/sdk/lib/framework/components2/drawer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698