Commit c19102a3 authored by Adam Barth's avatar Adam Barth

Merge pull request #648 from abarth/icon_button

Makes it easier to hit IconButton
parents 08dbc7d6 4e6b5267
......@@ -26,6 +26,7 @@ class IconButton extends StatelessComponent {
// 8.0 pixel padding as well as the icon.
return new GestureDetector(
onTap: onPressed,
behavior: HitTestBehavior.opaque,
child: new Padding(
padding: const EdgeDims.all(8.0),
child: new Icon(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment