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

Side by Side Diff: sky/sdk/example/stocks/lib/stock_app.dart

Issue 1210173004: Move examples to //sky/sdk/example (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
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/framework/components/tool_bar.dart'; 5 import 'package:sky/framework/components/tool_bar.dart';
6 import 'package:sky/framework/components/drawer.dart'; 6 import 'package:sky/framework/components/drawer.dart';
7 import 'package:sky/framework/components/drawer_header.dart'; 7 import 'package:sky/framework/components/drawer_header.dart';
8 import 'package:sky/framework/components/floating_action_button.dart'; 8 import 'package:sky/framework/components/floating_action_button.dart';
9 import 'package:sky/framework/components/icon.dart'; 9 import 'package:sky/framework/components/icon.dart';
10 import 'package:sky/framework/components/icon_button.dart'; 10 import 'package:sky/framework/components/icon_button.dart';
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 return new Scaffold( 216 return new Scaffold(
217 header: _isSearching ? buildSearchBar() : buildToolBar(), 217 header: _isSearching ? buildSearchBar() : buildToolBar(),
218 content: new Stocklist(stocks: _stocks, query: _searchQuery), 218 content: new Stocklist(stocks: _stocks, query: _searchQuery),
219 fab: new FloatingActionButton( 219 fab: new FloatingActionButton(
220 content: new Icon(type: 'content/add_white', size: 24), level: 3), 220 content: new Icon(type: 'content/add_white', size: 24), level: 3),
221 drawer: _drawerShowing ? buildDrawer() : null, 221 drawer: _drawerShowing ? buildDrawer() : null,
222 overlays: overlays 222 overlays: overlays
223 ); 223 );
224 } 224 }
225 } 225 }
OLDNEW
« no previous file with comments | « sky/sdk/example/stocks/data/stock_data_9.json ('k') | sky/sdk/example/stocks/lib/stock_arrow.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698