Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
36b735ee
Unverified
Commit
36b735ee
authored
Sep 19, 2018
by
Michael Klimushyn
Committed by
GitHub
Sep 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix WidgetApp.title documentation (#22011)
Closes #16031
parent
7caa6594
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app.dart
packages/flutter/lib/src/widgets/app.dart
+3
-3
title.dart
packages/flutter/lib/src/widgets/title.dart
+1
-1
No files found.
packages/flutter/lib/src/widgets/app.dart
View file @
36b735ee
...
...
@@ -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}
...
...
packages/flutter/lib/src/widgets/title.dart
View file @
36b735ee
...
...
@@ -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)).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment