Fixed several typos (#89485)

This commit is contained in:
Anis Alibegić
2021-09-07 23:56:04 +02:00
committed by GitHub
parent 2382b4c046
commit a753d09cc9
28 changed files with 39 additions and 39 deletions

View File

@@ -114,8 +114,8 @@ $otherComments static const LogicalKeyboardKey $constantName = LogicalKeyboardK
final StringBuffer result = StringBuffer();
for (final SynonymKeyInfo synonymInfo in synonyms.values) {
for (final LogicalKeyEntry key in synonymInfo.keys) {
final LogicalKeyEntry synonnym = logicalData.entryByName(synonymInfo.name);
result.writeln(' ${key.constantName}: ${synonnym.constantName},');
final LogicalKeyEntry synonym = logicalData.entryByName(synonymInfo.name);
result.writeln(' ${key.constantName}: ${synonym.constantName},');
}
}
return result.toString();

View File

@@ -447,7 +447,7 @@ class _Icon {
flutterId = id.replaceFirst(rewritePair.key, identifierExactRewrites[rewritePair.key]!);
}
}
// Prefix identifer rewrites.
// Prefix identifier rewrites.
for (final MapEntry<String, String> rewritePair
in identifierPrefixRewrites.entries) {
if (id.startsWith(rewritePair.key)) {