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

Unified Diff: sky/examples/stocks2/lib/stock_menu.dart

Issue 1174023003: Remove one more use of mirrors: Components now have to explicitly sync their fields. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/stocks2/lib/stock_list.dart ('k') | sky/examples/stocks2/lib/stock_row.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks2/lib/stock_menu.dart
diff --git a/sky/examples/stocks2/lib/stock_menu.dart b/sky/examples/stocks2/lib/stock_menu.dart
index c4e261d34c59084be28b0805e9892d245a416f28..b0d40a72c6beaaf8ced12facefa438505f12e497 100644
--- a/sky/examples/stocks2/lib/stock_menu.dart
+++ b/sky/examples/stocks2/lib/stock_menu.dart
@@ -8,10 +8,15 @@ import 'package:sky/framework/components2/checkbox.dart';
import 'package:sky/framework/theme/view_configuration.dart';
class StockMenu extends Component {
- PopupMenuController controller;
- StockMenu({Object key, this.controller, this.autorefresh: false, this.onAutorefreshChanged}) : super(key: key);
+ StockMenu({
+ Object key,
+ this.controller,
+ this.autorefresh: false,
+ this.onAutorefreshChanged
+ }) : super(key: key);
+ final PopupMenuController controller;
final bool autorefresh;
final ValueChanged onAutorefreshChanged;
« no previous file with comments | « sky/examples/stocks2/lib/stock_list.dart ('k') | sky/examples/stocks2/lib/stock_row.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698