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

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

Issue 1003553002: Update Button to be made of Material (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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/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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698