Index: sky/framework/components/button.dart |
diff --git a/sky/framework/components/button.dart b/sky/framework/components/button.dart |
index 159da90c71733248b514d9cc5264c87a02a29149..f85380c841a2a6df56e747cc6672ec5aa3a6e3b8 100644 |
--- a/sky/framework/components/button.dart |
+++ b/sky/framework/components/button.dart |
@@ -4,6 +4,7 @@ |
import '../fn.dart'; |
import 'button_base.dart'; |
+import 'material.dart'; |
class Button extends ButtonBase { |
static final Style _style = new Style(''' |
@@ -34,9 +35,9 @@ class Button extends ButtonBase { |
Button({ Object key, this.content }) : super(key: key); |
Node build() { |
- return new Container( |
+ return new Material( |
style: highlight ? _highlightStyle : _style, |
- children: [super.build(), content] |
+ children: [content] |
); |
} |
} |