Index: sky/examples/fn/widgets/fixedheightscrollable.dart |
diff --git a/sky/examples/fn/widgets/fixedheightscrollable.dart b/sky/examples/fn/widgets/fixedheightscrollable.dart |
index ef343e26768f611990c85003263c59732bb5f6f6..3c134aa924d260aa2679e9cf0455938935845777 100644 |
--- a/sky/examples/fn/widgets/fixedheightscrollable.dart |
+++ b/sky/examples/fn/widgets/fixedheightscrollable.dart |
@@ -50,10 +50,6 @@ abstract class FixedHeightScrollable extends Component { |
return new Container( |
style: _style, |
- onFlingStart: _handleFlingStart, |
- onFlingCancel: _handleFlingCancel, |
- onScrollUpdate: _handleScrollUpdate, |
- onWheel: _handleWheel, |
children: [ |
new Container( |
style: _scrollAreaStyle, |
@@ -61,7 +57,11 @@ abstract class FixedHeightScrollable extends Component { |
children: items |
) |
] |
- ); |
+ ) |
+ ..events.listen('gestureflingstart', _handleFlingStart) |
+ ..events.listen('gestureflingcancel', _handleFlingCancel) |
+ ..events.listen('gesturescrollupdate', _handleScrollUpdate) |
+ ..events.listen('wheel', _handleWheel); |
} |
void willUnmount() { |