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/generators.dart'; | 6 import '../animation/generators.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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 setState(() { | 87 setState(() { |
88 _inlineStyle = style; | 88 _inlineStyle = style; |
89 }); | 89 }); |
90 }); | 90 }); |
91 } | 91 } |
92 | 92 |
93 Node build() { | 93 Node build() { |
94 _ensureListening(); | 94 _ensureListening(); |
95 | 95 |
96 return new Container( | 96 return new Container( |
97 styles: [_style], | 97 style: _style, |
98 children: [ | 98 children: [ |
99 new Container( | 99 new Container( |
100 inlineStyle: _inlineStyle, | 100 inlineStyle: _inlineStyle, |
101 styles: [_splashStyle] | 101 style: _splashStyle |
102 ) | 102 ) |
103 ] | 103 ] |
104 ); | 104 ); |
105 } | 105 } |
106 } | 106 } |
OLD | NEW |