Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: sky/framework/components/ink_splash.dart

Issue 1006053002: Allow Effen Styles to be extendable (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sdfsd Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/framework/components/icon.dart ('k') | sky/framework/components/input.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « sky/framework/components/icon.dart ('k') | sky/framework/components/input.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698