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

Unified Diff: sky/sdk/lib/framework/components2/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/engine/core/painting/Size.dart ('k') | sky/sdk/lib/framework/components2/button_base.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components2/button.dart
diff --git a/sky/sdk/lib/framework/components2/button.dart b/sky/sdk/lib/framework/components2/button.dart
index 3b2fd5f1311e5f6338f7fdbef01992f4e8c29a57..6a743b2c3cda943a44b1b865ee7d160419fd27b0 100644
--- a/sky/sdk/lib/framework/components2/button.dart
+++ b/sky/sdk/lib/framework/components2/button.dart
@@ -7,6 +7,9 @@ import 'ink_well.dart';
import 'material.dart';
class Button extends Component {
+
+ Button({ Object key, this.content, this.level }) : super(key: key);
+
static final Style _style = new Style('''
-webkit-user-select: none;
height: 36px;
@@ -19,8 +22,6 @@ class Button extends Component {
UINode content;
int level;
- Button({ Object key, this.content, this.level }) : super(key: key);
-
UINode build() {
return new StyleNode(
new Material(
@@ -28,4 +29,5 @@ class Button extends Component {
level: level),
_style);
}
+
}
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/sdk/lib/framework/components2/button_base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698