| Index: sky/examples/stocks-fn/stocklist.dart
|
| diff --git a/sky/examples/stocks-fn/stocklist.dart b/sky/examples/stocks-fn/stocklist.dart
|
| deleted file mode 100644
|
| index f7330d130bba600d55917c97889d5609fd72d82b..0000000000000000000000000000000000000000
|
| --- a/sky/examples/stocks-fn/stocklist.dart
|
| +++ /dev/null
|
| @@ -1,22 +0,0 @@
|
| -part of stocksapp;
|
| -
|
| -class Stocklist extends FixedHeightScrollable {
|
| - String query;
|
| - List<Stock> stocks;
|
| -
|
| - Stocklist({
|
| - Object key,
|
| - this.stocks,
|
| - this.query
|
| - }) : super(key: key, scrollBehavior: new OverscrollBehavior());
|
| -
|
| - List<Node> buildItems(int start, int count) {
|
| - return stocks
|
| - .skip(start)
|
| - .where((stock) => query == null || stock.symbol.contains(
|
| - new RegExp(query, caseSensitive: false)))
|
| - .take(count)
|
| - .map((stock) => new StockRow(stock: stock))
|
| - .toList(growable: false);
|
| - }
|
| -}
|
|
|