Fix typo (#151192)
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:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user