flutter/examples/fn/widgets/menudivider.dart
Rafael Weinstein 409b12e5df Change the name of Component.render to Component.build in Effen.
"Render" is misleading. "Build" may not be the best word either, it's closer to what's actually happening.

R=ojan@chromium.org
TBR=abarth
BUG=

Review URL: https://codereview.chromium.org/992033002
2015-03-09 13:30:13 -07:00

18 lines
299 B
Dart

part of widgets;
class MenuDivider extends Component {
static Style _style = new Style('''
margin: 8px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);'''
);
MenuDivider({ Object key }) : super(key: key);
Node build() {
return new Container(
style: _style
);
}
}