Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: sky/framework/components/floating_action_button.dart

Issue 993033003: Move example fn widgets into sky/framework/components (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/components/fixed_height_scrollable.dart ('k') | sky/framework/components/icon.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « sky/framework/components/fixed_height_scrollable.dart ('k') | sky/framework/components/icon.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698