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

Unified Diff: sky/sdk/lib/framework/components2/floating_action_button.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
Index: sky/sdk/lib/framework/components2/floating_action_button.dart
diff --git a/sky/sdk/lib/framework/components2/floating_action_button.dart b/sky/sdk/lib/framework/components2/floating_action_button.dart
index e4be516755e90bebe92a8aef6f201ace3b200256..d0f96910cfaf3150400f186fb021eb80ba22ba19 100644
--- a/sky/sdk/lib/framework/components2/floating_action_button.dart
+++ b/sky/sdk/lib/framework/components2/floating_action_button.dart
@@ -17,8 +17,8 @@ class FloatingActionButton extends Component {
FloatingActionButton({ Object key, this.content, this.level: 0 })
: super(key: key);
- UINode content;
- int level;
+ final UINode content;
+ final int level;
UINode build() {
List<UINode> children = [];
« no previous file with comments | « sky/sdk/lib/framework/components2/fixed_height_scrollable.dart ('k') | sky/sdk/lib/framework/components2/icon.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698