| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 import '../animation/animated_value.dart'; | 5 import '../animation/animated_value.dart'; |
| 6 import '../animation/curves.dart'; | 6 import '../animation/curves.dart'; |
| 7 import '../animation/generators.dart'; | 7 import '../animation/generators.dart'; |
| 8 import '../fn.dart'; | 8 import '../fn.dart'; |
| 9 import '../theme/view-configuration.dart' as config; | 9 import '../theme/view-configuration.dart' as config; |
| 10 import 'dart:async'; | 10 import 'dart:async'; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 _listening = true; | 101 _listening = true; |
| 102 | 102 |
| 103 onStyleChanged.listen((style) { | 103 onStyleChanged.listen((style) { |
| 104 setState(() { | 104 setState(() { |
| 105 _inlineStyle = style; | 105 _inlineStyle = style; |
| 106 }); | 106 }); |
| 107 }); | 107 }); |
| 108 } | 108 } |
| 109 | 109 |
| 110 Node build() { | 110 UINode build() { |
| 111 _ensureListening(); | 111 _ensureListening(); |
| 112 | 112 |
| 113 return new Container( | 113 return new Container( |
| 114 style: _clipperStyle, | 114 style: _clipperStyle, |
| 115 children: [ | 115 children: [ |
| 116 new Container( | 116 new Container( |
| 117 inlineStyle: _inlineStyle, | 117 inlineStyle: _inlineStyle, |
| 118 style: _splashStyle | 118 style: _splashStyle |
| 119 ) | 119 ) |
| 120 ] | 120 ] |
| 121 ); | 121 ); |
| 122 } | 122 } |
| 123 } | 123 } |
| OLD | NEW |