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

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

Issue 1217623002: Support for background images on cards, style demo home (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase 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/theme.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/widget.dart
diff --git a/sky/sdk/lib/widgets/widget.dart b/sky/sdk/lib/widgets/widget.dart
index ebecd821318de476cf42d006966052b2b5443d97..9652e92ec364d289f0e72f20fc928c82fcda7b2e 100644
--- a/sky/sdk/lib/widgets/widget.dart
+++ b/sky/sdk/lib/widgets/widget.dart
@@ -279,6 +279,7 @@ typedef void EventListener(sky.Event e);
class Listener extends TagNode {
Listener({
+ String key,
Widget child,
EventListener onWheel,
GestureEventListener onGestureFlingCancel,
@@ -306,7 +307,7 @@ class Listener extends TagNode {
onPointerUp: onPointerUp,
custom: custom
),
- super(child);
+ super(child, key: key);
final Map<String, sky.EventListener> listeners;
« no previous file with comments | « sky/sdk/lib/widgets/theme.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698