From 36b735eeb2d19788f6865510dd74ac820fa3d0ba Mon Sep 17 00:00:00 2001 From: Michael Klimushyn Date: Wed, 19 Sep 2018 15:39:02 -0700 Subject: [PATCH] Fix WidgetApp.title documentation (#22011) Closes #16031 --- packages/flutter/lib/src/widgets/app.dart | 6 +++--- packages/flutter/lib/src/widgets/title.dart | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/flutter/lib/src/widgets/app.dart b/packages/flutter/lib/src/widgets/app.dart index 241659863bc..e8c95eaee44 100644 --- a/packages/flutter/lib/src/widgets/app.dart +++ b/packages/flutter/lib/src/widgets/app.dart @@ -235,9 +235,9 @@ class WidgetsApp extends StatefulWidget { /// A one-line description used by the device to identify the app for the user. /// /// On Android the titles appear above the task manager's app snapshots which are - /// displayed when the user presses the "recent apps" button. Similarly, on - /// iOS the titles appear in the App Switcher when the user double presses the - /// home button. + /// displayed when the user presses the "recent apps" button. On iOS this + /// value cannot be used. `CFBundleDisplayName` from the app's `Info.plist` is + /// referred to instead whenever present, `CFBundleName` otherwise. /// /// To provide a localized title instead, use [onGenerateTitle]. /// {@endtemplate} diff --git a/packages/flutter/lib/src/widgets/title.dart b/packages/flutter/lib/src/widgets/title.dart index 2d1d2996aeb..c73f30e3e7f 100644 --- a/packages/flutter/lib/src/widgets/title.dart +++ b/packages/flutter/lib/src/widgets/title.dart @@ -10,7 +10,7 @@ import 'framework.dart'; /// A widget that describes this app in the operating system. class Title extends StatelessWidget { - /// Creates a widget that describes this app to the operating system. + /// Creates a widget that describes this app to the Android operating system. /// /// [title] will default to the empty string if not supplied. /// [color] must be an opaque color (i.e. color.alpha must be 255 (0xFF)).