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

Unified Diff: sky/examples/fn2/container.dart

Issue 1146923005: Fix gesture events in fn2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | sky/examples/game/lib/sprite_box.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn2/container.dart
diff --git a/sky/examples/fn2/container.dart b/sky/examples/fn2/container.dart
index 0be6f50cf889814ba67353f64e5268d5541e6c2e..5abda8572005943525628d545c68a98343de998d 100644
--- a/sky/examples/fn2/container.dart
+++ b/sky/examples/fn2/container.dart
@@ -38,12 +38,17 @@ class ContainerApp extends App {
),
])),
]),
- onPointerDown: _handlePointerDown);
+ onPointerDown: _handlePointerDown,
+ onGestureTap: _handleGestureTap);
}
void _handlePointerDown(sky.PointerEvent event) {
print("_handlePointerDown");
}
+
+ void _handleGestureTap(sky.GestureEvent event) {
+ print("_handleGestureTap");
+ }
}
void main() {
« no previous file with comments | « no previous file | sky/examples/game/lib/sprite_box.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698