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

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

Issue 970393002: Give the floating action button a slash effect (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Cleaner 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
OLDNEW
(Empty)
1 part of widgets;
2
3 abstract class StyleComponent extends Component {
4 Node content;
5
6 // Subclasses should implement this getter to provide their style information.
7 Style get style => null;
8
9 StyleComponent({ Object key, this.content }) : super(key: key);
10
11 Node render() {
12 return new Container(
13 style: style,
14 children: content == null ? [] : [content]
15 );
16 }
17 }
OLDNEW
« no previous file with comments | « sky/examples/fn/widgets/floating_action_button.dart ('k') | sky/examples/fn/widgets/widgets.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698