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

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

Issue 992033002: Change the name of Component.render to Component.build in Effen (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: README 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/examples/fn/widgets/material.dart ('k') | sky/examples/fn/widgets/menuitem.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 part of widgets; 1 part of widgets;
2 2
3 class MenuDivider extends Component { 3 class MenuDivider extends Component {
4 4
5 static Style _style = new Style(''' 5 static Style _style = new Style('''
6 margin: 8px 0; 6 margin: 8px 0;
7 border-bottom: 1px solid rgba(0, 0, 0, 0.12);''' 7 border-bottom: 1px solid rgba(0, 0, 0, 0.12);'''
8 ); 8 );
9 9
10 MenuDivider({ Object key }) : super(key: key); 10 MenuDivider({ Object key }) : super(key: key);
11 11
12 Node render() { 12 Node build() {
13 return new Container( 13 return new Container(
14 style: _style 14 style: _style
15 ); 15 );
16 } 16 }
17 } 17 }
OLDNEW
« no previous file with comments | « sky/examples/fn/widgets/material.dart ('k') | sky/examples/fn/widgets/menuitem.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698