OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |