Make the StockList actually work in stocks2

RenderScaffold needs to attach and detach its children when asked.

R=eseidel@chromium.org, ianh@google.com

Review URL: https://codereview.chromium.org/1149893025
This commit is contained in:
Adam Barth
2015-06-04 15:50:07 -07:00
parent a33db92d62
commit 6559a8b68e

View File

@@ -204,7 +204,7 @@ class StocksApp extends App {
List<UINode> overlays = [
new Scaffold(
toolbar: _isSearching ? buildSearchBar() : buildToolBar(),
// body: new Stocklist(stocks: _stocks, query: _searchQuery),
body: new Stocklist(stocks: _stocks, query: _searchQuery),
// floatingActionButton: new FloatingActionButton(
// content: new Icon(type: 'content/add_white', size: 24),
// level: 3),