From 5d3c4568d40be9c9742a3697961087e28fb31745 Mon Sep 17 00:00:00 2001 From: Qun Cheng <36861262+QuncCccccc@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:15:06 -0700 Subject: [PATCH] Fix typo (#151192) Trivial PR to fix typo. The code snippet uses `alignment1`. https://github.com/flutter/flutter/blob/4cb6d384926fe831697e1e6cc88a6deb8d602071/packages/flutter/lib/src/animation/animation.dart#L208-L211 --- packages/flutter/lib/src/animation/animation.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/animation/animation.dart b/packages/flutter/lib/src/animation/animation.dart index 64bf8a70f6..37d14b3557 100644 --- a/packages/flutter/lib/src/animation/animation.dart +++ b/packages/flutter/lib/src/animation/animation.dart @@ -215,7 +215,7 @@ abstract class Animation extends Listenable implements ValueListenable { /// {@end-tool} /// {@tool snippet} /// - /// The `_alignment.value` could then be used in a widget's build method, for + /// The `alignment1.value` could then be used in a widget's build method, for /// instance, to position a child using an [Align] widget such that the /// position of the child shifts over time from the top left to the top right. ///