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

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

Issue 1019443003: Remove the |style| parameter to InkWell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
Index: sky/framework/components/radio.dart
diff --git a/sky/framework/components/radio.dart b/sky/framework/components/radio.dart
index aed1b81ad62a79b00086c4b33987850ef2ff4755..ff64a36be16ec26a66d6102402c2dc20e639b2da 100644
--- a/sky/framework/components/radio.dart
+++ b/sky/framework/components/radio.dart
@@ -55,9 +55,11 @@ class Radio extends ButtonBase {
Node buildContent() {
return new EventTarget(
- new InkWell(
- style: highlight ? _highlightStyle : _style,
- children: value == groupValue ? [new Container(style: _dotStyle )] : []
+ new StyleNode(
+ new InkWell(
+ children: value == groupValue ? [new Container(style: _dotStyle)] : []
+ ),
+ highlight ? _highlightStyle : _style
),
onGestureTap: _handleClick
);
« sky/framework/components/material.dart ('K') | « sky/framework/components/menu_item.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698