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

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

Issue 1011023003: Make stocks-fn match the style for the Sky SDK (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: more 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/data/stocks.dart ('k') | sky/examples/stocks-fn/lib/stock_arrow.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 library stocksapp; 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
3 // found in the LICENSE file.
2 4
3 import '../data/stocks.dart';
4 import 'dart:math';
5 import 'package:sky/framework/animation/scroll_behavior.dart';
6 import 'package:sky/framework/components/action_bar.dart'; 5 import 'package:sky/framework/components/action_bar.dart';
7 import 'package:sky/framework/components/drawer.dart'; 6 import 'package:sky/framework/components/drawer.dart';
8 import 'package:sky/framework/components/drawer_header.dart'; 7 import 'package:sky/framework/components/drawer_header.dart';
9 import 'package:sky/framework/components/fixed_height_scrollable.dart';
10 import 'package:sky/framework/components/floating_action_button.dart'; 8 import 'package:sky/framework/components/floating_action_button.dart';
11 import 'package:sky/framework/components/icon.dart'; 9 import 'package:sky/framework/components/icon.dart';
12 import 'package:sky/framework/components/input.dart'; 10 import 'package:sky/framework/components/input.dart';
13 import 'package:sky/framework/components/material.dart';
14 import 'package:sky/framework/components/menu_divider.dart'; 11 import 'package:sky/framework/components/menu_divider.dart';
15 import 'package:sky/framework/components/menu_item.dart'; 12 import 'package:sky/framework/components/menu_item.dart';
16 import 'package:sky/framework/fn.dart'; 13 import 'package:sky/framework/fn.dart';
17 import 'package:sky/framework/theme/typography.dart' as typography; 14 import 'package:sky/framework/theme/typography.dart' as typography;
18 15 import 'stock_data.dart';
19 part 'stockarrow.dart'; 16 import 'stock_list.dart';
20 part 'stocklist.dart';
21 part 'stockrow.dart';
22 17
23 class StocksApp extends App { 18 class StocksApp extends App {
24 19
25 DrawerAnimation _drawerAnimation = new DrawerAnimation(); 20 DrawerAnimation _drawerAnimation = new DrawerAnimation();
26 21
27 static Style _style = new Style(''' 22 static Style _style = new Style('''
28 display: flex; 23 display: flex;
29 flex-direction: column; 24 flex-direction: column;
30 height: -webkit-fill-available; 25 height: -webkit-fill-available;
31 ${typography.typeface}; 26 ${typography.typeface};
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 key: 'Content', 131 key: 'Content',
137 style: _style, 132 style: _style,
138 children: [toolbar, list] 133 children: [toolbar, list]
139 ), 134 ),
140 fab, 135 fab,
141 drawer, 136 drawer,
142 ] 137 ]
143 ); 138 );
144 } 139 }
145 } 140 }
OLDNEW
« no previous file with comments | « sky/examples/data/stocks.dart ('k') | sky/examples/stocks-fn/lib/stock_arrow.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698