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

Unified Diff: sky/sdk/lib/widgets/icon_button.dart

Issue 1193513007: Rename EventListenerNode to Listener (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/sdk/lib/widgets/drawer.dart ('k') | sky/sdk/lib/widgets/material_button.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/icon_button.dart
diff --git a/sky/sdk/lib/widgets/icon_button.dart b/sky/sdk/lib/widgets/icon_button.dart
index 4afd7ab3614b69734de1cabc04b03f99d0402668..a7ae568a096047ab0ac1d5271319b48caf98ddf0 100644
--- a/sky/sdk/lib/widgets/icon_button.dart
+++ b/sky/sdk/lib/widgets/icon_button.dart
@@ -16,8 +16,8 @@ class IconButton extends Component {
final GestureEventListener onGestureTap;
Widget build() {
- return new EventListenerNode(
- new Padding(
+ return new Listener(
+ child: new Padding(
child: new Icon(type: icon, size: 24),
padding: const EdgeDims.all(8.0)),
onGestureTap: onGestureTap);
« no previous file with comments | « sky/sdk/lib/widgets/drawer.dart ('k') | sky/sdk/lib/widgets/material_button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698