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

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

Issue 1142893007: Suppress unnamed library analyzer spam in shelldb (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
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 library components_floating_action_button;
6
7 import '../fn.dart'; 5 import '../fn.dart';
8 import '../theme/colors.dart'; 6 import '../theme/colors.dart';
9 import 'ink_well.dart'; 7 import 'ink_well.dart';
10 import 'material.dart'; 8 import 'material.dart';
11 9
12 class FloatingActionButton extends Component { 10 class FloatingActionButton extends Component {
13 // TODO(abarth): We need a better way to become a container for absolutely 11 // TODO(abarth): We need a better way to become a container for absolutely
14 // positioned elements. 12 // positioned elements.
15 static final Style _style = new Style(''' 13 static final Style _style = new Style('''
16 width: 56px; 14 width: 56px;
(...skipping 23 matching lines...) Expand all
40 if (content != null) 38 if (content != null)
41 children.add(content); 39 children.add(content);
42 40
43 return new Material( 41 return new Material(
44 content: new Container( 42 content: new Container(
45 style: _style, 43 style: _style,
46 children: [new StyleNode(new InkWell(children: children), _clipStyle)]), 44 children: [new StyleNode(new InkWell(children: children), _clipStyle)]),
47 level: level); 45 level: level);
48 } 46 }
49 } 47 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components/fixed_height_scrollable.dart ('k') | sky/sdk/lib/framework/components/icon.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698