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

Side by Side Diff: sky/examples/stocks-fn/stockrow.dart

Issue 993033003: Move example fn widgets into sky/framework/components (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/fn/widgets/widgets.dart ('k') | sky/examples/stocks-fn/stocksapp.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 part of stocksapp; 1 part of stocksapp;
2 2
3 class StockRow extends MaterialComponent { 3 class StockRow extends Material {
4 4
5 Stock stock; 5 Stock stock;
6 6
7 static Style _style = new Style(''' 7 static Style _style = new Style('''
8 transform: translateX(0); 8 transform: translateX(0);
9 display: flex; 9 display: flex;
10 align-items: center; 10 align-items: center;
11 border-bottom: 1px solid #F4F4F4; 11 border-bottom: 1px solid #F4F4F4;
12 padding-top: 16px; 12 padding-top: 16px;
13 padding-left: 16px; 13 padding-left: 16px;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ]; 63 ];
64 64
65 children.add(super.build()); 65 children.add(super.build());
66 66
67 return new Container( 67 return new Container(
68 style: _style, 68 style: _style,
69 children: children 69 children: children
70 ); 70 );
71 } 71 }
72 } 72 }
OLDNEW
« no previous file with comments | « sky/examples/fn/widgets/widgets.dart ('k') | sky/examples/stocks-fn/stocksapp.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698