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
96003f91
Unverified
Commit
96003f91
authored
Mar 02, 2020
by
Shi-Hao Hong
Committed by
GitHub
Mar 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix doc typo in WidgetsApp.supportedLocales (#51646)
* Fix doc typo
parent
ec64f93f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app.dart
packages/flutter/lib/src/widgets/app.dart
+5
-5
No files found.
packages/flutter/lib/src/widgets/app.dart
View file @
96003f91
...
...
@@ -615,11 +615,11 @@ class WidgetsApp extends StatefulWidget {
/// `basicLocaleListResolution`, attempts to match by the following priority:
///
/// 1. [Locale.languageCode], [Locale.scriptCode], and [Locale.countryCode]
///
1. [Locale.languageCode] and [Locale.country
Code] only
///
1
. [Locale.languageCode] and [Locale.countryCode] only
///
1
. [Locale.languageCode] only
///
1
. [Locale.countryCode] only when all preferred locales fail to match
///
1
. Returns the first element of [supportedLocales] as a fallback
///
2. [Locale.languageCode] and [Locale.script
Code] only
///
3
. [Locale.languageCode] and [Locale.countryCode] only
///
4
. [Locale.languageCode] only
///
5
. [Locale.countryCode] only when all preferred locales fail to match
///
6
. Returns the first element of [supportedLocales] as a fallback
///
/// When more than one supported locale matches one of these criteria, only
/// the first matching locale is returned.
...
...
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