| Index: sky/framework/components/radio.dart
|
| diff --git a/sky/framework/components/radio.dart b/sky/framework/components/radio.dart
|
| index 08f35dbe87d13f1e67de67a134a45470050cce8a..d820488e707138ee1d73d26d9d60add12b7ecd66 100644
|
| --- a/sky/framework/components/radio.dart
|
| +++ b/sky/framework/components/radio.dart
|
| @@ -50,14 +50,15 @@ class Radio extends ButtonBase {
|
| this.onChanged,
|
| this.value,
|
| this.groupValue
|
| - }) : super(key: key) {
|
| - events.listen('gesturetap', _handleClick);
|
| - }
|
| + }) : super(key: key);
|
|
|
| - Node build() {
|
| - return new Material(
|
| - style: highlight ? _highlightStyle : _style,
|
| - children: value == groupValue ? [new Container(style: _dotStyle )] : []
|
| + Node buildContent() {
|
| + return new EventTarget(
|
| + new Material(
|
| + style: highlight ? _highlightStyle : _style,
|
| + children: value == groupValue ? [new Container(style: _dotStyle )] : []
|
| + ),
|
| + onGestureTap: _handleClick
|
| );
|
| }
|
|
|
|
|