| OLD | NEW |
| 1 part of stocksapp; | 1 part of stocksapp; |
| 2 | 2 |
| 3 class StockRow extends MaterialComponent { | 3 class StockRow extends MaterialComponent { |
| 4 | 4 |
| 5 Stock stock; | 5 Stock stock; |
| 6 | 6 |
| 7 static Style _style = new Style(''' | 7 static Style _style = new Style(''' |
| 8 transform: translateX(0); | 8 transform: translateX(0); |
| 9 max-height: 48px; | |
| 10 display: flex; | 9 display: flex; |
| 11 align-items: center; | 10 align-items: center; |
| 12 border-bottom: 1px solid #F4F4F4; | 11 border-bottom: 1px solid #F4F4F4; |
| 13 padding-top: 16px; | 12 padding-top: 16px; |
| 14 padding-left: 16px; | 13 padding-left: 16px; |
| 15 padding-right: 16px; | 14 padding-right: 16px; |
| 16 padding-bottom: 20px;''' | 15 padding-bottom: 20px;''' |
| 17 ); | 16 ); |
| 18 | 17 |
| 19 static Style _tickerStyle = new Style(''' | 18 static Style _tickerStyle = new Style(''' |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 ]; | 63 ]; |
| 65 | 64 |
| 66 children.add(super.render()); | 65 children.add(super.render()); |
| 67 | 66 |
| 68 return new Container( | 67 return new Container( |
| 69 style: _style, | 68 style: _style, |
| 70 children: children | 69 children: children |
| 71 ); | 70 ); |
| 72 } | 71 } |
| 73 } | 72 } |
| OLD | NEW |