mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
parent
7caa65943f
commit
36b735eeb2
@ -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)).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user