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/action_bar.dart'; | 5 import 'package:sky/framework/components/action_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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 return new Scaffold( | 161 return new Scaffold( |
162 header: _isSearching ? buildSearchBar() : buildActionBar(), | 162 header: _isSearching ? buildSearchBar() : buildActionBar(), |
163 content: new Stocklist(stocks: _stocks, query: _searchQuery), | 163 content: new Stocklist(stocks: _stocks, query: _searchQuery), |
164 fab: new FloatingActionButton( | 164 fab: new FloatingActionButton( |
165 content: new Icon(type: 'content/add_white', size: 24), level: 3), | 165 content: new Icon(type: 'content/add_white', size: 24), level: 3), |
166 drawer: buildDrawer(), | 166 drawer: buildDrawer(), |
167 overlays: overlays | 167 overlays: overlays |
168 ); | 168 ); |
169 } | 169 } |
170 } | 170 } |
OLD | NEW |