Index: sky/examples/fn/widgets/radio.dart |
diff --git a/sky/examples/fn/widgets/radio.dart b/sky/examples/fn/widgets/radio.dart |
index fe907929e0b544d07c64029f2b9c3f4576e03f6b..c5c1b41f806e3c14ad76660099af10a97fccef81 100644 |
--- a/sky/examples/fn/widgets/radio.dart |
+++ b/sky/examples/fn/widgets/radio.dart |
@@ -48,16 +48,12 @@ class Radio extends ButtonBase { |
Node render() { |
return new Container( |
style: _highlight ? _highlightStyle : _style, |
- onClick: _handleClick, |
- onPointerDown: _handlePointerDown, |
- onPointerUp: _handlePointerUp, |
- onPointerCancel: _handlePointerCancel, |
children: value == groupValue ? |
[super.render(), new Container( style : _dotStyle )] : [super.render()] |
- ); |
+ )..events.listen('click', _handleClick); |
} |
- void _handleClick(sky.Event e) { |
+ void _handleClick(_) { |
onChanged(value); |
} |
} |