diff --git a/examples/flutter_gallery/lib/gallery/drawer.dart b/examples/flutter_gallery/lib/gallery/drawer.dart index 2883744af0..cfe88b4460 100644 --- a/examples/flutter_gallery/lib/gallery/drawer.dart +++ b/examples/flutter_gallery/lib/gallery/drawer.dart @@ -162,17 +162,10 @@ class GalleryDrawer extends StatelessWidget { final Widget fileAnIssueItem = new DrawerItem( icon: new Icon(Icons.report), - child: new RichText( - text: new TextSpan( - children: [ - new LinkTextSpan( - text: "File an issue", - style: linkStyle, - url: 'https://github.com/flutter/flutter/issues/new' - ) - ] - ) - ) + onPressed: () { + UrlLauncher.launch('https://github.com/flutter/flutter/issues/new'); + }, + child: new Text('File an issue') ); final Widget aboutItem = new AboutDrawerItem(