| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 import 'basic.dart'; | 5 import 'package:sky/widgets/basic.dart'; |
| 6 import 'button_base.dart'; | 6 import 'package:sky/widgets/button_base.dart'; |
| 7 import 'icon.dart'; | 7 import 'package:sky/widgets/icon.dart'; |
| 8 import 'ink_well.dart'; | 8 import 'package:sky/widgets/ink_well.dart'; |
| 9 import 'material.dart'; | 9 import 'package:sky/widgets/material.dart'; |
| 10 import 'theme.dart'; | 10 import 'package:sky/widgets/theme.dart'; |
| 11 | 11 |
| 12 // TODO(eseidel): This needs to change based on device size? | 12 // TODO(eseidel): This needs to change based on device size? |
| 13 // http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylin
es-keylines-spacing | 13 // http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylin
es-keylines-spacing |
| 14 const double _kSize = 56.0; | 14 const double _kSize = 56.0; |
| 15 | 15 |
| 16 class FloatingActionButton extends ButtonBase { | 16 class FloatingActionButton extends ButtonBase { |
| 17 | 17 |
| 18 FloatingActionButton({ | 18 FloatingActionButton({ |
| 19 String key, | 19 String key, |
| 20 this.child, | 20 this.child, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 ) | 63 ) |
| 64 ) | 64 ) |
| 65 ) | 65 ) |
| 66 ) | 66 ) |
| 67 ) | 67 ) |
| 68 ) | 68 ) |
| 69 ); | 69 ); |
| 70 } | 70 } |
| 71 | 71 |
| 72 } | 72 } |
| OLD | NEW |