Index: sky/framework/components/floating_action_button.dart |
diff --git a/sky/examples/fn/widgets/floating_action_button.dart b/sky/framework/components/floating_action_button.dart |
similarity index 75% |
rename from sky/examples/fn/widgets/floating_action_button.dart |
rename to sky/framework/components/floating_action_button.dart |
index ceebc01c2708eb2b11cc8c29cb635d7ee1401977..4fb303dc4a8b8dd11c45e93318387e5d921c51c1 100644 |
--- a/sky/examples/fn/widgets/floating_action_button.dart |
+++ b/sky/framework/components/floating_action_button.dart |
@@ -1,6 +1,13 @@ |
-part of widgets; |
+// 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. |
-class FloatingActionButton extends MaterialComponent { |
+import '../fn.dart'; |
+import 'material.dart'; |
+import '../theme/colors.dart'; |
+import '../theme/shadows.dart'; |
+ |
+class FloatingActionButton extends Material { |
static final Style _style = new Style(''' |
position: absolute; |
bottom: 16px; |