mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

This is just a proof of concept. If we like this direction, it will move out of the examples directory (likely re-written) and be committed in smaller pieces with unit tests and formal reviews. TBR=abarth BUG= Review URL: https://codereview.chromium.org/971183002
18 lines
300 B
Dart
18 lines
300 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 render() {
|
|
return new Container(
|
|
style: _style
|
|
);
|
|
}
|
|
}
|