From 96003f91d6e61c238bcfdd8605c765064c0ca80d Mon Sep 17 00:00:00 2001 From: Shi-Hao Hong Date: Mon, 2 Mar 2020 09:49:21 -0800 Subject: [PATCH] Fix doc typo in WidgetsApp.supportedLocales (#51646) * Fix doc typo --- packages/flutter/lib/src/widgets/app.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/flutter/lib/src/widgets/app.dart b/packages/flutter/lib/src/widgets/app.dart index fc01190ef9..9e544cf185 100644 --- a/packages/flutter/lib/src/widgets/app.dart +++ b/packages/flutter/lib/src/widgets/app.dart @@ -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.countryCode] 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.scriptCode] 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.