From 6cdf0daef4017d3c5e0a78921abf5d807ce36d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=B1=E9=AD=82=E9=AD=9A?= Date: Tue, 18 Apr 2023 17:41:14 +0800 Subject: [PATCH 1/2] Fix typo "priori" -> "prior" --- src/resources/inside-flutter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/inside-flutter.md b/src/resources/inside-flutter.md index 8aa06e89961..3a6b6dbe821 100644 --- a/src/resources/inside-flutter.md +++ b/src/resources/inside-flutter.md @@ -586,7 +586,7 @@ Some interpolatable objects are defined by class hierarchies. For example, shapes are represented by the `ShapeBorder` interface, and there exists a variety of shapes, including `BeveledRectangleBorder`, `BoxBorder`, `CircleBorder`, `RoundedRectangleBorder`, and `StadiumBorder`. A single -`lerp` function cannot have a priori knowledge of all the possible types, +`lerp` function cannot have a prior knowledge of all the possible types, and therefore the interface instead defines `lerpFrom` and `lerpTo` methods, which the static `lerp` method defers to. When told to interpolate from a shape A to a shape B, first B is asked if it can `lerpFrom` A, then, From e94c2db223487dcbe5b1faeff4841a8411c78bf4 Mon Sep 17 00:00:00 2001 From: "Shams Zakhour (ignore Sfshaza)" <44418985+sfshaza2@users.noreply.github.com> Date: Tue, 25 Apr 2023 13:42:32 -0700 Subject: [PATCH 2/2] Update src/resources/inside-flutter.md --- src/resources/inside-flutter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/inside-flutter.md b/src/resources/inside-flutter.md index 3a6b6dbe821..388210287f6 100644 --- a/src/resources/inside-flutter.md +++ b/src/resources/inside-flutter.md @@ -586,7 +586,7 @@ Some interpolatable objects are defined by class hierarchies. For example, shapes are represented by the `ShapeBorder` interface, and there exists a variety of shapes, including `BeveledRectangleBorder`, `BoxBorder`, `CircleBorder`, `RoundedRectangleBorder`, and `StadiumBorder`. A single -`lerp` function cannot have a prior knowledge of all the possible types, +`lerp` function can't anticipate all possible types, and therefore the interface instead defines `lerpFrom` and `lerpTo` methods, which the static `lerp` method defers to. When told to interpolate from a shape A to a shape B, first B is asked if it can `lerpFrom` A, then,