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

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

Issue 975863003: Don't hardcode the list of events types in fn (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: More careful event syncing 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/fn/widgets/material.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/widgets/icon.dart
diff --git a/sky/examples/fn/widgets/icon.dart b/sky/examples/fn/widgets/icon.dart
index dded9217d4160f78b943e29ffb795b23947a5842..8f76d8f41044489d9e4d9bf11ffe74caec104939 100644
--- a/sky/examples/fn/widgets/icon.dart
+++ b/sky/examples/fn/widgets/icon.dart
@@ -7,14 +7,12 @@ class Icon extends Component {
Style style;
int size;
String type;
- sky.EventListener onClick;
Icon({
String key,
this.style,
this.size,
- this.type: '',
- this.onClick
+ this.type: ''
}) : super(key: key);
Node render() {
@@ -28,7 +26,6 @@ class Icon extends Component {
return new Image(
style: style,
- onClick: onClick,
width: size,
height: size,
src: '${kAssetBase}/${category}/2x_web/ic_${subtype}_${size}dp.png'
« no previous file with comments | « sky/examples/fn/widgets/fixedheightscrollable.dart ('k') | sky/examples/fn/widgets/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698