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

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

Issue 1173293005: Make UINode's key a String (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: nit 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/menu_divider.dart ('k') | sky/sdk/lib/widgets/modal_overlay.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/menu_item.dart
diff --git a/sky/sdk/lib/widgets/menu_item.dart b/sky/sdk/lib/widgets/menu_item.dart
index 2dd2a3fb3fe31958935462418fc1d1823104f38d..5365450083b28029e2f06360dd6a640c794e29ae 100644
--- a/sky/sdk/lib/widgets/menu_item.dart
+++ b/sky/sdk/lib/widgets/menu_item.dart
@@ -23,7 +23,8 @@ const BoxDecoration _kHighlightBoring = const BoxDecoration(
);
class MenuItem extends ButtonBase {
- MenuItem({ Object key, this.icon, this.children, this.onGestureTap }) : super(key: key);
+ MenuItem({ String key, this.icon, this.children, this.onGestureTap })
+ : super(key: key);
String icon;
List<UINode> children;
« no previous file with comments | « sky/sdk/lib/widgets/menu_divider.dart ('k') | sky/sdk/lib/widgets/modal_overlay.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698