| Index: sky/examples/stocks-fn/lib/stock_app.dart
|
| diff --git a/sky/examples/stocks-fn/lib/stock_app.dart b/sky/examples/stocks-fn/lib/stock_app.dart
|
| index f79c26ad182c8e9b01c9d78b7df51b3d43e68aa9..87f5e6dca7706b6947b6b880276559e4e569a808 100644
|
| --- a/sky/examples/stocks-fn/lib/stock_app.dart
|
| +++ b/sky/examples/stocks-fn/lib/stock_app.dart
|
| @@ -40,6 +40,10 @@ class StocksApp extends App {
|
| ${typography.white.title};'''
|
| );
|
|
|
| + static Style _stocklistHeight = new Style('''
|
| + flex: 1;'''
|
| + );
|
| +
|
| List<Stock> _sortedStocks;
|
| bool _isSearching = false;
|
| bool _isShowingMenu = false;
|
| @@ -137,7 +141,9 @@ class StocksApp extends App {
|
| ]
|
| );
|
|
|
| - var list = new Stocklist(stocks: _sortedStocks, query: _searchQuery);
|
| + var list = new StyleNode(
|
| + new Stocklist(stocks: _sortedStocks, query: _searchQuery),
|
| + _stocklistHeight);
|
|
|
| var fab = new FloatingActionButton(content: new Icon(
|
| type: 'content/add_white', size: 24), level: 3);
|
|
|