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/curves.dart'; | 5 import '../animation/curves.dart'; |
6 import '../animation/generator.dart'; | 6 import '../animation/generator.dart'; |
7 import '../fn.dart'; | 7 import '../fn.dart'; |
8 import 'dart:async'; | 8 import 'dart:async'; |
9 import 'dart:sky' as sky; | 9 import 'dart:sky' as sky; |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 setState(() { | 84 setState(() { |
85 _inlineStyle = style; | 85 _inlineStyle = style; |
86 }); | 86 }); |
87 }); | 87 }); |
88 } | 88 } |
89 | 89 |
90 Node build() { | 90 Node build() { |
91 _ensureListening(); | 91 _ensureListening(); |
92 | 92 |
93 return new Container( | 93 return new Container( |
94 style: _style, | 94 styles: [_style], |
95 children: [ | 95 children: [ |
96 new Container( | 96 new Container( |
97 inlineStyle: _inlineStyle, | 97 inlineStyle: _inlineStyle, |
98 style: _splashStyle | 98 styles: [_splashStyle] |
99 ) | 99 ) |
100 ] | 100 ] |
101 ); | 101 ); |
102 } | 102 } |
103 } | 103 } |
OLD | NEW |