Tiny a11y fix for Gallery (#11187)

This commit is contained in:
Michael Goderbauer 2017-07-13 09:50:37 -07:00 committed by GitHub
parent f2809423cd
commit cb35a1c728

View File

@ -31,7 +31,8 @@ class GalleryItem extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new ListTile(
return new MergeSemantics(
child: new ListTile(
title: new Text(title),
subtitle: new Text(subtitle),
onTap: () {
@ -43,6 +44,7 @@ class GalleryItem extends StatelessWidget {
Navigator.pushNamed(context, routeName);
}
}
),
);
}
}