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

Side by Side Diff: sky/framework/components/floating_action_button.dart

Issue 1000863002: Fix errors in Sky detected by Dart analyzer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: One more 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 unified diff | Download patch
« no previous file with comments | « sky/framework/components/checkbox.dart ('k') | sky/framework/components/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 '../fn.dart'; 5 import '../fn.dart';
6 import 'material.dart'; 6 import 'material.dart';
7 import '../theme/colors.dart'; 7 import '../theme/colors.dart';
8 import '../theme/shadows.dart';
9 8
10 class FloatingActionButton extends Component { 9 class FloatingActionButton extends Component {
11 static final Style _style = new Style(''' 10 static final Style _style = new Style('''
12 position: absolute; 11 position: absolute;
13 bottom: 16px; 12 bottom: 16px;
14 right: 16px; 13 right: 16px;
15 z-index: 5; 14 z-index: 5;
16 transform: translateX(0); 15 transform: translateX(0);
17 width: 56px; 16 width: 56px;
18 height: 56px; 17 height: 56px;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 children: [ 53 children: [
55 new Material( 54 new Material(
56 key: "Clip", 55 key: "Clip",
57 styles: [_clipStyle], 56 styles: [_clipStyle],
58 children: children 57 children: children
59 ) 58 )
60 ] 59 ]
61 ); 60 );
62 } 61 }
63 } 62 }
OLDNEW
« no previous file with comments | « sky/framework/components/checkbox.dart ('k') | sky/framework/components/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698