diff --git a/examples/stocks-fn/stocklist.dart b/examples/stocks-fn/stocklist.dart index 50c64f36001..d904ef1c2a8 100644 --- a/examples/stocks-fn/stocklist.dart +++ b/examples/stocks-fn/stocklist.dart @@ -8,7 +8,7 @@ class Stocklist extends FixedHeightScrollable { Object key, this.stocks, this.query - }) : super(key: key, minOffset: 0.0); + }) : super(key: key, scrollCurve: new BoundedScrollCurve(minOffset: 0.0)); List buildItems(int start, int count) { return stocks diff --git a/examples/stocks-fn/stocksapp.dart b/examples/stocks-fn/stocksapp.dart index d392d659c73..7923c7197b4 100644 --- a/examples/stocks-fn/stocksapp.dart +++ b/examples/stocks-fn/stocksapp.dart @@ -1,6 +1,7 @@ library stocksapp; import '../../framework/fn.dart'; +import '../../framework/animation/scroll_curve.dart'; import '../../framework/components/drawer.dart'; import '../../framework/components/drawer_header.dart'; import '../../framework/components/fixed_height_scrollable.dart';