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

Unified Diff: sky/framework/components/radio.dart

Issue 1000863002: Fix errors in Sky detected by Dart analyzer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: One more 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 | « sky/framework/components/material.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/radio.dart
diff --git a/sky/framework/components/radio.dart b/sky/framework/components/radio.dart
index 4f45aa36d3acf3d503c26b1ec0e19b256571dc6e..edc79374665f4290bf2eae4debaf9bad50fc6ba7 100644
--- a/sky/framework/components/radio.dart
+++ b/sky/framework/components/radio.dart
@@ -57,8 +57,8 @@ class Radio extends ButtonBase {
Node build() {
return new Material(
styles: [highlight ? _highlightStyle : _style],
- children: value == groupValue ? [new Container( style : _dotStyle )] : []
- )
+ children: value == groupValue ? [new Container(styles: [_dotStyle] )] : []
+ );
}
void _handleClick(_) {
« no previous file with comments | « sky/framework/components/material.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698