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 |
deleted file mode 100644 |
index d404be632cea8b016a2344aaaebc74ddca73036b..0000000000000000000000000000000000000000 |
--- a/sky/sdk/lib/framework/components2/icon_button.dart |
+++ /dev/null |
@@ -1,25 +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 '../rendering/box.dart'; |
-import 'icon.dart'; |
- |
-class IconButton extends Component { |
- |
- IconButton({ String icon: '', this.onGestureTap }) |
- : super(key: icon), icon = icon; |
- |
- final String icon; |
- final GestureEventListener onGestureTap; |
- |
- UINode build() { |
- return new EventListenerNode( |
- new Padding( |
- child: new Icon(type: icon, size: 24), |
- padding: const EdgeDims.all(8.0)), |
- onGestureTap: onGestureTap); |
- } |
- |
-} |