OLD | NEW |
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 } |
OLD | NEW |