| OLD | NEW |
| 1 part of widgets; | 1 part of widgets; |
| 2 | 2 |
| 3 const double _kSplashSize = 400.0; | 3 const double _kSplashSize = 400.0; |
| 4 const double _kSplashDuration = 500.0; | 4 const double _kSplashDuration = 500.0; |
| 5 | 5 |
| 6 class SplashAnimation { | 6 class SplashAnimation { |
| 7 AnimationGenerator _animation; | 7 AnimationGenerator _animation; |
| 8 double _offsetX; | 8 double _offsetX; |
| 9 double _offsetY; | 9 double _offsetY; |
| 10 | 10 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 _listening = true; | 74 _listening = true; |
| 75 | 75 |
| 76 onStyleChanged.listen((style) { | 76 onStyleChanged.listen((style) { |
| 77 setState(() { | 77 setState(() { |
| 78 _inlineStyle = style; | 78 _inlineStyle = style; |
| 79 }); | 79 }); |
| 80 }); | 80 }); |
| 81 } | 81 } |
| 82 | 82 |
| 83 Node render() { | 83 Node build() { |
| 84 _ensureListening(); | 84 _ensureListening(); |
| 85 | 85 |
| 86 return new Container( | 86 return new Container( |
| 87 style: _style, | 87 style: _style, |
| 88 children: [ | 88 children: [ |
| 89 new Container( | 89 new Container( |
| 90 inlineStyle: _inlineStyle, | 90 inlineStyle: _inlineStyle, |
| 91 style: _splashStyle | 91 style: _splashStyle |
| 92 ) | 92 ) |
| 93 ] | 93 ] |
| 94 ); | 94 ); |
| 95 } | 95 } |
| 96 } | 96 } |
| OLD | NEW |