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

Side by Side Diff: sky/examples/fn/widgets/inksplash.dart

Issue 992033002: Change the name of Component.render to Component.build in Effen (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: README 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/examples/fn/widgets/icon.dart ('k') | sky/examples/fn/widgets/material.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 part of widgets; 1 part of widgets;
2 2
3 const double _kSplashSize = 400.0; 3 const double _kSplashSize = 400.0;
4 const double _kSplashDuration = 500.0; 4 const double _kSplashDuration = 500.0;
5 5
6 class SplashAnimation { 6 class SplashAnimation {
7 AnimationGenerator _animation; 7 AnimationGenerator _animation;
8 double _offsetX; 8 double _offsetX;
9 double _offsetY; 9 double _offsetY;
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 _listening = true; 74 _listening = true;
75 75
76 onStyleChanged.listen((style) { 76 onStyleChanged.listen((style) {
77 setState(() { 77 setState(() {
78 _inlineStyle = style; 78 _inlineStyle = style;
79 }); 79 });
80 }); 80 });
81 } 81 }
82 82
83 Node render() { 83 Node build() {
84 _ensureListening(); 84 _ensureListening();
85 85
86 return new Container( 86 return new Container(
87 style: _style, 87 style: _style,
88 children: [ 88 children: [
89 new Container( 89 new Container(
90 inlineStyle: _inlineStyle, 90 inlineStyle: _inlineStyle,
91 style: _splashStyle 91 style: _splashStyle
92 ) 92 )
93 ] 93 ]
94 ); 94 );
95 } 95 }
96 } 96 }
OLDNEW
« no previous file with comments | « sky/examples/fn/widgets/icon.dart ('k') | sky/examples/fn/widgets/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698