| 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 '../theme2/colors.dart'; | 5 import '../theme/colors.dart'; |
| 6 import '../theme2/edges.dart'; | 6 import '../theme/edges.dart'; |
| 7 import 'basic.dart'; | 7 import 'basic.dart'; |
| 8 import 'button_base.dart'; | 8 import 'button_base.dart'; |
| 9 import 'ink_well.dart'; | 9 import 'ink_well.dart'; |
| 10 import 'material.dart'; | 10 import 'material.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 { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 width: _kSize, | 45 width: _kSize, |
| 46 height: _kSize, | 46 height: _kSize, |
| 47 child: new InkWell(child: new Center(child: child)) | 47 child: new InkWell(child: new Center(child: child)) |
| 48 ) | 48 ) |
| 49 ) | 49 ) |
| 50 ) | 50 ) |
| 51 ); | 51 ); |
| 52 } | 52 } |
| 53 | 53 |
| 54 } | 54 } |
| OLD | NEW |