| 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
|
| deleted file mode 100644
|
| index 59add1743f0c86a658603b904e9e0148d59b2b60..0000000000000000000000000000000000000000
|
| --- a/sky/sdk/lib/framework/components2/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 '../fn2.dart';
|
| -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;
|
| - 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);
|
| - }
|
| -
|
| -}
|
|
|