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

Unified Diff: sky/sdk/lib/framework/components2/icon_button.dart

Issue 1172173002: Clean up a bunch of our Dart code. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: upstream merge 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/framework/components2/icon.dart ('k') | sky/sdk/lib/framework/components2/ink_splash.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components2/icon_button.dart
diff --git a/sky/sdk/lib/framework/components2/icon_button.dart b/sky/sdk/lib/framework/components2/icon_button.dart
index 9fc79dee59728907e7c1a0627d1d9e335e7a8d94..b7b7deefcdd60c9a3a2370216d3dba4d22a7bff2 100644
--- a/sky/sdk/lib/framework/components2/icon_button.dart
+++ b/sky/sdk/lib/framework/components2/icon_button.dart
@@ -7,12 +7,13 @@ import '../rendering/box.dart';
import 'icon.dart';
class IconButton extends Component {
- String icon;
- GestureEventListener onGestureTap;
IconButton({ String icon: '', this.onGestureTap })
: super(key: icon), icon = icon;
+ String icon;
+ GestureEventListener onGestureTap;
+
UINode build() {
return new EventListenerNode(
new Padding(
@@ -20,4 +21,5 @@ class IconButton extends Component {
padding: const EdgeDims.all(8.0)),
onGestureTap: onGestureTap);
}
+
}
« no previous file with comments | « sky/sdk/lib/framework/components2/icon.dart ('k') | sky/sdk/lib/framework/components2/ink_splash.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698