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

Side by Side Diff: sky/examples/fn/widgets/floating_action_button.dart

Issue 975913002: Implement a floating action button in fn (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | « no previous file | sky/examples/fn/widgets/style_component.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 part of widgets;
2
3 class FloatingActionButton extends StyleComponent {
4 static final Style _style = new Style('''
5 position: absolute;
6 display: flex;
7 justify-content: center;
8 align-items: center;
9 bottom: 16px;
10 right: 16px;
11 width: 56px;
12 height: 56px;
13 background-color: #F44336;
14 color: white;
15 border-radius: 28px;
16 box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);'''
17 );
18
19 Style get style => _style;
20
21 FloatingActionButton({ Object key, Node content }) : super(key: key, content: content);
22 }
OLDNEW
« no previous file with comments | « no previous file | sky/examples/fn/widgets/style_component.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698