Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: sky/examples/fn/widgets/material.dart

Issue 987613002: Make stocksapp.dart almost pass the dart analyzer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/fn/widgets/fixedheightscrollable.dart ('k') | sky/examples/stocks-fn/stocksapp.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>();
« no previous file with comments | « sky/examples/fn/widgets/fixedheightscrollable.dart ('k') | sky/examples/stocks-fn/stocksapp.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698