* Fix typos

* lowercase animated & opacity

* Undo typo fix

---------

Co-authored-by: Michael Goderbauer <goderbauer@google.com>
This commit is contained in:
Lioness100
2023-02-23 14:43:21 -05:00
committed by GitHub
parent 3681b27a47
commit 26b6c1bedd
175 changed files with 285 additions and 284 deletions

View File

@@ -169,7 +169,7 @@ class AOTSnapshotter {
]);
}
// When buiding for iOS and splitting out debug info, we want to strip
// When building for iOS and splitting out debug info, we want to strip
// manually after the dSYM export, instead of in the `gen_snapshot`.
final bool stripAfterBuild;
if (targetingApplePlatform) {

View File

@@ -231,7 +231,7 @@ class PosixProcessSignal extends ProcessSignal {
/// * by throwing an exception asynchronously, and
/// * by completing the Future stdout.done with an error.
///
/// This class enapsulates all three so that we don't have to worry about it
/// This class encapsulates all three so that we don't have to worry about it
/// anywhere else.
class Stdio {
Stdio();

View File

@@ -625,7 +625,7 @@ class StdoutLogger extends Logger {
}
}
typedef _Writter = void Function(String message);
typedef _Writer = void Function(String message);
/// Wraps the message in a box, and writes the bytes by calling [write].
///
@@ -643,7 +643,7 @@ typedef _Writter = void Function(String message);
void _generateBox({
required String message,
required int wrapColumn,
required _Writter write,
required _Writer write,
required Terminal terminal,
String? title,
}) {

View File

@@ -318,13 +318,13 @@ class _LinuxUtils extends _PosixUtils {
try {
// Split the operating system version which should be formatted as
// "Linux kernelRelease build", by spaces.
final List<String> osVersionSplitted = _platform.operatingSystemVersion.split(' ');
if (osVersionSplitted.length < 3) {
final List<String> osVersionSplit = _platform.operatingSystemVersion.split(' ');
if (osVersionSplit.length < 3) {
// The operating system version didn't have the expected format.
// Initialize as an empty string.
kernelRelease = '';
} else {
kernelRelease = ' ${osVersionSplitted[1]}';
kernelRelease = ' ${osVersionSplit[1]}';
}
} on Exception catch (e) {
_logger.printTrace('Failed obtaining kernel release for Linux: $e');
@@ -336,8 +336,8 @@ class _LinuxUtils extends _PosixUtils {
}
String _getOsReleaseValueForKey(String osRelease, String key) {
final List<String> osReleaseSplitted = osRelease.split('\n');
for (String entry in osReleaseSplitted) {
final List<String> osReleaseSplit = osRelease.split('\n');
for (String entry in osReleaseSplit) {
entry = entry.trim();
final List<String> entryKeyValuePair = entry.split('=');
if(entryKeyValuePair[0] == key) {