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

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

Issue 1173323004: Add TextStyle fontFamily:, extend support for fontWeight: (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Changes per review feedback 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/rendering/render_paragraph.dart ('k') | sky/sdk/BUILD.gn » ('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 'package:sky/rendering/box.dart'; 5 import 'package:sky/rendering/box.dart';
6 import 'package:sky/theme2/typography.dart' as typography; 6 import 'package:sky/theme2/typography.dart' as typography;
7 import 'package:sky/widgets/ink_well.dart'; 7 import 'package:sky/widgets/ink_well.dart';
8 import 'package:sky/widgets/basic.dart'; 8 import 'package:sky/widgets/basic.dart';
9 import 'package:sky/rendering/paragraph.dart'; 9 import 'package:sky/painting/text_style.dart';
10 10
11 import 'stock_arrow.dart'; 11 import 'stock_arrow.dart';
12 import 'stock_data.dart'; 12 import 'stock_data.dart';
13 13
14 class StockRow extends Component { 14 class StockRow extends Component {
15 15
16 StockRow({ Stock stock }) : this.stock = stock, super(key: stock.symbol); 16 StockRow({ Stock stock }) : this.stock = stock, super(key: stock.symbol);
17 17
18 final Stock stock; 18 final Stock stock;
19 19
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0), 54 padding: const EdgeDims(16.0, 16.0, 20.0, 16.0),
55 height: kHeight, 55 height: kHeight,
56 decoration: const BoxDecoration( 56 decoration: const BoxDecoration(
57 border: const Border( 57 border: const Border(
58 bottom: const BorderSide(color: const Color(0xFFF4F4F4)))), 58 bottom: const BorderSide(color: const Color(0xFFF4F4F4)))),
59 child: new Flex(children) 59 child: new Flex(children)
60 ) 60 )
61 ); 61 );
62 } 62 }
63 } 63 }
OLDNEW
« no previous file with comments | « sky/examples/rendering/render_paragraph.dart ('k') | sky/sdk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698