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

Side by Side Diff: sky/sdk/lib/widgets/floating_action_button.dart

Issue 1217623002: Support for background images on cards, style demo home (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « sky/sdk/lib/widgets/card.dart ('k') | sky/sdk/lib/widgets/material.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 '../theme/edges.dart';
6 import 'basic.dart'; 5 import 'basic.dart';
7 import 'button_base.dart'; 6 import 'button_base.dart';
8 import 'ink_well.dart'; 7 import 'ink_well.dart';
9 import 'material.dart'; 8 import 'material.dart';
10 import 'theme.dart'; 9 import 'theme.dart';
11 10
12 // TODO(eseidel): This needs to change based on device size? 11 // 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 12 // http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylin es-keylines-spacing
14 const double _kSize = 56.0; 13 const double _kSize = 56.0;
15 14
(...skipping 29 matching lines...) Expand all
45 width: _kSize, 44 width: _kSize,
46 height: _kSize, 45 height: _kSize,
47 child: new InkWell(child: new Center(child: child)) 46 child: new InkWell(child: new Center(child: child))
48 ) 47 )
49 ) 48 )
50 ) 49 )
51 ); 50 );
52 } 51 }
53 52
54 } 53 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/widgets/card.dart ('k') | sky/sdk/lib/widgets/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698