Corrected the "Routes can return a value" example (#7638)

diff --git a/packages/flutter/lib/src/widgets/navigator.dart b/packages/flutter/lib/src/widgets/navigator.dart
index f3385b9..60bf8d4 100644
--- a/packages/flutter/lib/src/widgets/navigator.dart
+++ b/packages/flutter/lib/src/widgets/navigator.dart
@@ -368,9 +368,9 @@
 /// bool value = await Navigator.of(context).push(new MaterialPageRoute<bool>(
 ///   builder: (BuildContext context) {
 ///     return new Center(
-///       child: new FlatButton(
+///       child: new GestureDetector(
 ///         child: new Text('OK'),
-///         onPressed: () { Navigator.of(context).pop(true); }
+///         onTap: () { Navigator.of(context).pop(true); }
 ///       ),
 ///     );
 ///   }