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

Unified Diff: sky/examples/fn/widgets/fixedheightscrollable.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/fn/widgets/drawerheader.dart ('k') | sky/examples/fn/widgets/floating_action_button.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/widgets/fixedheightscrollable.dart
diff --git a/sky/examples/fn/widgets/fixedheightscrollable.dart b/sky/examples/fn/widgets/fixedheightscrollable.dart
index ea08322f93a271780fc187921682cc54e103675a..4fee244c178644947c790993f3d3b7428873b4ba 100644
--- a/sky/examples/fn/widgets/fixedheightscrollable.dart
+++ b/sky/examples/fn/widgets/fixedheightscrollable.dart
@@ -32,7 +32,7 @@ abstract class FixedHeightScrollable extends Component {
this.maxOffset
}) : super(key: key) {}
- List<Node> renderItems(int start, int count);
+ List<Node> buildItems(int start, int count);
void didMount() {
var root = getRoot();
@@ -48,7 +48,7 @@ abstract class FixedHeightScrollable extends Component {
});
}
- Node render() {
+ Node build() {
var itemNumber = 0;
var drawCount = 1;
var transformStyle = '';
@@ -73,7 +73,7 @@ abstract class FixedHeightScrollable extends Component {
new Container(
style: _scrollAreaStyle,
inlineStyle: transformStyle,
- children: renderItems(itemNumber, drawCount)
+ children: buildItems(itemNumber, drawCount)
)
]
)
« no previous file with comments | « sky/examples/fn/widgets/drawerheader.dart ('k') | sky/examples/fn/widgets/floating_action_button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698