Spell check of Flutter docs (#45200)

No code changes, just comments: I spell-checked all the comments in the repo.
This commit is contained in:
Greg Spencer
2019-11-22 08:43:55 -08:00
committed by GitHub
parent fcb40a05bb
commit a60bf8e23a
103 changed files with 188 additions and 188 deletions

View File

@@ -13,7 +13,7 @@ import 'package:path/path.dart' as path;
final String gradlew = Platform.isWindows ? 'gradlew.bat' : 'gradlew';
final String gradlewExecutable = Platform.isWindows ? '.\\$gradlew' : './$gradlew';
/// Tests that projects can include plugins that have a transtive dependency in common.
/// Tests that projects can include plugins that have a transitive dependency in common.
/// For more info see: https://github.com/flutter/flutter/issues/27254.
Future<void> main() async {
await task(() async {

View File

@@ -10,7 +10,7 @@ import 'package:flutter_devicelab/framework/utils.dart';
import 'package:path/path.dart' as path;
/// Tests that flutter build apk uses R8 by default by adding an
/// invalid proguard rule and evaluating the error message.
/// invalid ProGuard rule and evaluating the error message.
Future<void> main() async {
await task(() async {

View File

@@ -25,7 +25,7 @@ bool _isTaskRegistered = false;
/// The task does not run immediately but waits for the request via the
/// VM service protocol to run it.
///
/// It is ok for a [task] to perform many things. However, only one task can be
/// It is OK for a [task] to perform many things. However, only one task can be
/// registered per Dart VM.
Future<TaskResult> task(TaskFunction task) {
if (_isTaskRegistered)
@@ -143,7 +143,7 @@ class _TaskRunner {
});
}
/// Disables the keep-alive port, allowing the VM to exit.
/// Disables the keepalive port, allowing the VM to exit.
void _closeKeepAlivePort() {
_startTaskTimeout?.cancel();
_keepAlivePort?.close();

View File

@@ -602,7 +602,7 @@ int parseServicePort(String line, {
return matches.isEmpty ? null : int.parse(matches[0].group(2));
}
/// Tries to extract a Uri from the string.
/// Tries to extract a URL from the string.
///
/// The `prefix`, if specified, is a regular expression pattern and must not contain groups.
/// `prefix` defaults to the RegExp: `An Observatory debugger .* is available at: `.