| OLD | NEW |
| 1 part of widgets; | 1 part of widgets; |
| 2 | 2 |
| 3 class Toolbar extends Component { | 3 class Toolbar extends Component { |
| 4 | 4 |
| 5 List<Node> children; | 5 List<Node> children; |
| 6 | 6 |
| 7 static Style _style = new Style(''' | 7 static Style _style = new Style(''' |
| 8 display: flex; | 8 display: flex; |
| 9 align-items: center; | 9 align-items: center; |
| 10 height: 84px; | 10 height: 84px; |
| 11 z-index: 1; | 11 z-index: 1; |
| 12 background-color: #3F51B5; | 12 background-color: #9C27B0; // Purple 500 |
| 13 color: white; | 13 color: white; |
| 14 box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);''' | 14 box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);''' |
| 15 ); | 15 ); |
| 16 | 16 |
| 17 Toolbar({String key, this.children}) : super(key: key); | 17 Toolbar({String key, this.children}) : super(key: key); |
| 18 | 18 |
| 19 Node render() { | 19 Node render() { |
| 20 return new Container( | 20 return new Container( |
| 21 style: _style, | 21 style: _style, |
| 22 children: children | 22 children: children |
| 23 ); | 23 ); |
| 24 } | 24 } |
| 25 } | 25 } |
| OLD | NEW |