Index: sky/examples/stocks-fn/stockrow.dart |
diff --git a/sky/examples/stocks-fn/stockrow.dart b/sky/examples/stocks-fn/stockrow.dart |
index 89354cb558c9b1cfd61c549a7212e168c94829d1..5ee0313c54c2185ad24d282ad0aff7393d83b293 100644 |
--- a/sky/examples/stocks-fn/stockrow.dart |
+++ b/sky/examples/stocks-fn/stockrow.dart |
@@ -34,7 +34,7 @@ class StockRow extends MaterialComponent { |
this.stock = stock; |
} |
- Node render() { |
+ Node build() { |
String lastSale = "\$${stock.lastSale.toStringAsFixed(2)}"; |
String changeInPrice = "${stock.percentChange.toStringAsFixed(2)}%"; |
@@ -62,7 +62,7 @@ class StockRow extends MaterialComponent { |
) |
]; |
- children.add(super.render()); |
+ children.add(super.build()); |
return new Container( |
style: _style, |