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

Unified Diff: sky/sdk/lib/framework/components2/radio.dart

Issue 1172173002: Clean up a bunch of our Dart code. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: upstream merge 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/radio.dart
diff --git a/sky/sdk/lib/framework/components2/radio.dart b/sky/sdk/lib/framework/components2/radio.dart
index 731a298ce49402d592fb6233fa1dc02163829ae1..4a4781cd72efb586727a1677c1018e065091fda8 100644
--- a/sky/sdk/lib/framework/components2/radio.dart
+++ b/sky/sdk/lib/framework/components2/radio.dart
@@ -13,9 +13,6 @@ import 'dart:sky' as sky;
typedef void ValueChanged(value);
class Radio extends ButtonBase {
- Object value;
- Object groupValue;
- ValueChanged onChanged;
Radio({
Object key,
@@ -24,6 +21,10 @@ class Radio extends ButtonBase {
this.groupValue
}) : super(key: key);
+ Object value;
+ Object groupValue;
+ ValueChanged onChanged;
+
UINode buildContent() {
// TODO(jackson): This should change colors with the theme
Color color = highlight ? colors.Purple[500] : const Color(0x8A000000);
@@ -60,4 +61,5 @@ class Radio extends ButtonBase {
void _handleClick(_) {
onChanged(value);
}
+
}
« no previous file with comments | « sky/sdk/lib/framework/components2/popup_menu_item.dart ('k') | sky/sdk/lib/framework/components2/scrollable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698