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

Unified Diff: sky/sdk/lib/framework/widgets/floating_action_button.dart

Issue 1177383006: Rename all the things (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix imports Created 5 years, 6 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/sdk/lib/framework/widgets/fixed_height_scrollable.dart ('k') | sky/sdk/lib/framework/widgets/icon.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/widgets/floating_action_button.dart
diff --git a/sky/sdk/lib/framework/widgets/floating_action_button.dart b/sky/sdk/lib/framework/widgets/floating_action_button.dart
deleted file mode 100644
index 8e4a7db3b3be2e02e73c0b9629bdab57644b85e4..0000000000000000000000000000000000000000
--- a/sky/sdk/lib/framework/widgets/floating_action_button.dart
+++ /dev/null
@@ -1,38 +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 '../theme2/colors.dart';
-import '../theme2/edges.dart';
-import 'button_base.dart';
-import 'ink_well.dart';
-import 'material.dart';
-import 'basic.dart';
-
-// TODO(eseidel): This needs to change based on device size?
-// http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylines-keylines-spacing
-const double _kSize = 56.0;
-
-class FloatingActionButton extends ButtonBase {
-
- FloatingActionButton({ Object key, this.child })
- : super(key: key);
-
- final UINode child;
-
- UINode buildContent() {
- return new Material(
- child: new ClipOval(
- child: new Container(
- width: _kSize,
- height: _kSize,
- child: new InkWell(child: new Center(child: child))
- )
- ),
- color: Red[500],
- edge: MaterialEdge.circle,
- level: highlight ? 3 : 2
- );
- }
-
-}
« no previous file with comments | « sky/sdk/lib/framework/widgets/fixed_height_scrollable.dart ('k') | sky/sdk/lib/framework/widgets/icon.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698