Trivial PR to fix typo. The code snippet uses `alignment1`.

4cb6d38492/packages/flutter/lib/src/animation/animation.dart (L208-L211)
This commit is contained in:
Qun Cheng
2024-07-02 15:15:06 -07:00
committed by GitHub
parent 8acf86d995
commit 5d3c4568d4

View File

@@ -215,7 +215,7 @@ abstract class Animation<T> extends Listenable implements ValueListenable<T> {
/// {@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.
///