Index: sky/framework/components/floating_action_button.dart |
diff --git a/sky/framework/components/floating_action_button.dart b/sky/framework/components/floating_action_button.dart |
index 4fb303dc4a8b8dd11c45e93318387e5d921c51c1..0ed0fb89baa393b0ca336725f2e2aa83299cc51d 100644 |
--- a/sky/framework/components/floating_action_button.dart |
+++ b/sky/framework/components/floating_action_button.dart |
@@ -7,7 +7,7 @@ import 'material.dart'; |
import '../theme/colors.dart'; |
import '../theme/shadows.dart'; |
-class FloatingActionButton extends Material { |
+class FloatingActionButton extends Component { |
static final Style _style = new Style(''' |
position: absolute; |
bottom: 16px; |
@@ -38,7 +38,7 @@ class FloatingActionButton extends Material { |
FloatingActionButton({ Object key, this.content }) : super(key: key); |
Node build() { |
- List<Node> children = [super.build()]; |
+ List<Node> children = []; |
if (content != null) |
children.add(content); |
@@ -47,7 +47,7 @@ class FloatingActionButton extends Material { |
key: "Container", |
style: _style, |
children: [ |
- new Container( |
+ new Material( |
key: "Clip", |
style: _clipStyle, |
children: children |