Unverified Commit 36b735ee authored by Michael Klimushyn's avatar Michael Klimushyn Committed by GitHub

Fix WidgetApp.title documentation (#22011)

Closes #16031
parent 7caa6594
......@@ -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}
......
......@@ -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)).
......
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