fix missing spaces in adjacent strings (#49159)

This commit is contained in:
Alexandre Ardhuin
2020-01-22 01:43:03 +01:00
committed by Flutter GitHub Bot
parent def2205ee4
commit 3800bb7b10
55 changed files with 141 additions and 139 deletions

View File

@@ -102,7 +102,7 @@ Future<void> main(List<String> rawArguments) async {
argParser.addOption(
'code',
defaultsTo: path.join(flutterRoot.path, 'packages', 'flutter', 'lib', 'src', 'services', 'keyboard_key.dart'),
help: 'The path to where the output "keyboard_keys.dart" file should be'
help: 'The path to where the output "keyboard_keys.dart" file should be '
'written. If --code is not specified, the output will be written to the '
'correct directory in the flutter tree. If the output directory does not '
'exist, it, and the path to it, will be created.',
@@ -110,7 +110,7 @@ Future<void> main(List<String> rawArguments) async {
argParser.addOption(
'maps',
defaultsTo: path.join(flutterRoot.path, 'packages', 'flutter', 'lib', 'src', 'services', 'keyboard_maps.dart'),
help: 'The path to where the output "keyboard_maps.dart" file should be'
help: 'The path to where the output "keyboard_maps.dart" file should be '
'written. If --maps is not specified, the output will be written to the '
'correct directory in the flutter tree. If the output directory does not '
'exist, it, and the path to it, will be created.',

View File

@@ -544,7 +544,7 @@ String genPluralMethod(Map<String, dynamic> arbBundle, String resourceId) {
}
String genSupportedLocaleProperty(Set<LocaleInfo> supportedLocales) {
const String prefix = 'static const List<Locale> supportedLocales = <Locale>[\n Locale(''';
const String prefix = 'static const List<Locale> supportedLocales = <Locale>[\n Locale(';
const String suffix = '),\n ];';
String resultingProperty = prefix;

View File

@@ -87,8 +87,8 @@ class PathAnimation {
final String currentCommandType = frame.paths[pathIdx].commands[commandIdx].type;
if (commandType != currentCommandType)
throw Exception(
'Paths must be built from the same commands in all frames'
'command $commandIdx at frame 0 was of type \'$commandType\''
'Paths must be built from the same commands in all frames '
'command $commandIdx at frame 0 was of type \'$commandType\' '
'command $commandIdx at frame $i was of type \'$currentCommandType\''
);
for (int j = 0; j < numPointsInCommand; j += 1)