From 78c92712a637568fe70b109a7812d1413182ac5e Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Tue, 28 Jun 2022 04:19:28 +1000 Subject: [PATCH] Fix typo in compute documentation: "captures" -> "capture" (#106624) --- packages/flutter/lib/src/foundation/isolates.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/foundation/isolates.dart b/packages/flutter/lib/src/foundation/isolates.dart index 3b9d651f4cb6..a978565a17b9 100644 --- a/packages/flutter/lib/src/foundation/isolates.dart +++ b/packages/flutter/lib/src/foundation/isolates.dart @@ -78,7 +78,7 @@ typedef ComputeImpl = Future Function(ComputeCallback callback, Q /// /// Using closures must be done with care. Due to /// [dart-lang/sdk#36983](https://github.com/dart-lang/sdk/issues/36983) a -/// closure may captures objects that, while not directly used in the closure +/// closure may capture objects that, while not directly used in the closure /// itself, may prevent it from being sent to an isolate. /// {@endtemplate} ///