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

Unified Diff: sky/sdk/lib/framework/widgets/button.dart

Issue 1179713004: Material and RaisedButton. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/theme2/shadows.dart ('k') | sky/sdk/lib/framework/widgets/drawer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/widgets/button.dart
diff --git a/sky/sdk/lib/framework/widgets/button.dart b/sky/sdk/lib/framework/widgets/button.dart
deleted file mode 100644
index b41eadbd93e26dcabdc4a0ec40c1e83e794ec12c..0000000000000000000000000000000000000000
--- a/sky/sdk/lib/framework/widgets/button.dart
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-import 'ink_well.dart';
-import 'material.dart';
-import 'wrappers.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;
- min-width: 64px;
- padding: 0 8px;
- margin: 4px;
- border-radius: 2px;'''
- );
-
- final UINode content;
- final int level;
-
- UINode build() {
- return new StyleNode(
- new Material(
- content: new InkWell(children: [content]),
- level: level),
- _style);
- }
-
-}
« no previous file with comments | « sky/sdk/lib/framework/theme2/shadows.dart ('k') | sky/sdk/lib/framework/widgets/drawer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698