Index: sky/examples/fn/widgets/material.dart |
diff --git a/sky/examples/fn/widgets/material.dart b/sky/examples/fn/widgets/material.dart |
index 2d38a511dc70db0d9d056f8c93bb6e9f34db5398..89cbdf23531147048bfad776b3efa8937d4f65e7 100644 |
--- a/sky/examples/fn/widgets/material.dart |
+++ b/sky/examples/fn/widgets/material.dart |
@@ -33,9 +33,9 @@ abstract class MaterialComponent extends Component { |
..events.listen('pointerdown', _startSplash); |
} |
- sky.ClientRect _getBoundingRect() => getRoot().getBoundingClientRect(); |
+ sky.ClientRect _getBoundingRect() => (getRoot() as sky.Element).getBoundingClientRect(); |
- void _startSplash(sky.Event event) { |
+ void _startSplash(sky.PointerEvent event) { |
setState(() { |
if (_splashes == null) { |
_splashes = new LinkedHashSet<SplashAnimation>(); |