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

Unified Diff: sky/examples/stocks-fn/stockrow.dart

Issue 983903003: Re-work MaterialComponent (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase 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 | « no previous file | sky/framework/components/button.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/stockrow.dart
diff --git a/sky/examples/stocks-fn/stockrow.dart b/sky/examples/stocks-fn/stockrow.dart
index 71c1042bae1f995225aed8924f02d73ca5f30a5f..6eb9df648039df1e2b1914a16fdf5e35798ebe74 100644
--- a/sky/examples/stocks-fn/stockrow.dart
+++ b/sky/examples/stocks-fn/stockrow.dart
@@ -1,6 +1,6 @@
part of stocksapp;
-class StockRow extends Material {
+class StockRow extends Component {
Stock stock;
@@ -62,9 +62,7 @@ class StockRow extends Material {
)
];
- children.add(super.build());
-
- return new Container(
+ return new Material(
style: _style,
children: children
);
« no previous file with comments | « no previous file | sky/framework/components/button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698