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:
@@ -17,7 +17,7 @@ enum DiagnosticsType {
|
||||
|
||||
EnumIndex<DiagnosticsType> _diagnosticsTypeIndex = EnumIndex<DiagnosticsType>(DiagnosticsType.values);
|
||||
|
||||
/// A Flutter Driver command to retrieve the json-serialized [DiagnosticsNode]
|
||||
/// A Flutter Driver command to retrieve the JSON-serialized [DiagnosticsNode]
|
||||
/// tree of the object identified by [finder].
|
||||
///
|
||||
/// The [DiagnosticsType] of the [DiagnosticsNode] tree returned is specified by
|
||||
@@ -67,7 +67,7 @@ class DiagnosticsTreeResult extends Result {
|
||||
/// Creates a [DiagnosticsTreeResult].
|
||||
const DiagnosticsTreeResult(this.json);
|
||||
|
||||
/// The json encoded [DiagnosticsNode] tree requested by the
|
||||
/// The JSON encoded [DiagnosticsNode] tree requested by the
|
||||
/// [GetDiagnosticsTree] command.
|
||||
final Map<String, Object> json;
|
||||
|
||||
|
||||
@@ -435,7 +435,7 @@ class GetSemanticsId extends CommandWithTarget {
|
||||
/// Creates a command which finds a Widget and then looks up the semantic id.
|
||||
GetSemanticsId(SerializableFinder finder, {Duration timeout}) : super(finder, timeout: timeout);
|
||||
|
||||
/// Creates a command from a json map.
|
||||
/// Creates a command from a JSON map.
|
||||
GetSemanticsId.deserialize(Map<String, String> json)
|
||||
: super.deserialize(json);
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ class _DriverBinding extends BindingBase with ServicesBinding, SchedulerBinding,
|
||||
///
|
||||
/// `silenceErrors` will prevent exceptions from being logged. This is useful
|
||||
/// for tests where exceptions are expected. Defaults to false. Any errors
|
||||
/// will still be returned in the `response` field of the result json along
|
||||
/// will still be returned in the `response` field of the result JSON along
|
||||
/// with an `isError` boolean.
|
||||
void enableFlutterDriverExtension({ DataHandler handler, bool silenceErrors = false }) {
|
||||
assert(WidgetsBinding.instance == null);
|
||||
|
||||
Reference in New Issue
Block a user