Fix typos in implicit_animations.dart (#62287)
This commit is contained in:
@@ -238,10 +238,10 @@ class TextStyleTween extends Tween<TextStyle> {
|
|||||||
/// the animation. While these widgets are simple to use and don't require you
|
/// the animation. While these widgets are simple to use and don't require you
|
||||||
/// to manually manage the lifecycle of an [AnimationController], they
|
/// to manually manage the lifecycle of an [AnimationController], they
|
||||||
/// are also somewhat limited: Besides the target value for the animated
|
/// are also somewhat limited: Besides the target value for the animated
|
||||||
/// property, developers can only chose a [duration] and [curve] for the
|
/// property, developers can only choose a [duration] and [curve] for the
|
||||||
/// animation. If you require more control over the animation (e.g. you want
|
/// animation. If you require more control over the animation (e.g. you want
|
||||||
/// to stop it somewhere in the middle), consider using a
|
/// to stop it somewhere in the middle), consider using an
|
||||||
/// [AnimatedWidget] or one of its subclasses. These widget take an [Animation]
|
/// [AnimatedWidget] or one of its subclasses. These widgets take an [Animation]
|
||||||
/// as an argument to power the animation. This gives the developer full control
|
/// as an argument to power the animation. This gives the developer full control
|
||||||
/// over the animation at the cost of requiring you to manually manage the
|
/// over the animation at the cost of requiring you to manually manage the
|
||||||
/// underlying [AnimationController].
|
/// underlying [AnimationController].
|
||||||
@@ -857,7 +857,7 @@ class _AnimatedPaddingState extends AnimatedWidgetBaseState<AnimatedPadding> {
|
|||||||
/// [Curves.fastOutSlowIn].
|
/// [Curves.fastOutSlowIn].
|
||||||
/// {@animation 250 266 https://flutter.github.io/assets-for-api-docs/assets/widgets/animated_align.mp4}
|
/// {@animation 250 266 https://flutter.github.io/assets-for-api-docs/assets/widgets/animated_align.mp4}
|
||||||
///
|
///
|
||||||
/// For the animation, you can chose a [curve] as well as a [duration] and the
|
/// For the animation, you can choose a [curve] as well as a [duration] and the
|
||||||
/// widget will automatically animate to the new target [alignment]. If you require
|
/// widget will automatically animate to the new target [alignment]. If you require
|
||||||
/// more control over the animation (e.g. if you want to stop it mid-animation),
|
/// more control over the animation (e.g. if you want to stop it mid-animation),
|
||||||
/// consider using an [AlignTransition] instead, which takes a provided
|
/// consider using an [AlignTransition] instead, which takes a provided
|
||||||
@@ -988,11 +988,11 @@ class _AnimatedAlignState extends AnimatedWidgetBaseState<AnimatedAlign> {
|
|||||||
/// of [Curves.fastOutSlowIn].
|
/// of [Curves.fastOutSlowIn].
|
||||||
/// {@animation 250 266 https://flutter.github.io/assets-for-api-docs/assets/widgets/animated_positioned.mp4}
|
/// {@animation 250 266 https://flutter.github.io/assets-for-api-docs/assets/widgets/animated_positioned.mp4}
|
||||||
///
|
///
|
||||||
/// For the animation, you can chose a [curve] as well as a [duration] and the
|
/// For the animation, you can choose a [curve] as well as a [duration] and the
|
||||||
/// widget will automatically animate to the new target position. If you require
|
/// widget will automatically animate to the new target position. If you require
|
||||||
/// more control over the animation (e.g. if you want to stop it mid-animation),
|
/// more control over the animation (e.g. if you want to stop it mid-animation),
|
||||||
/// consider using an [PositionedTransition] instead, which takes a provided
|
/// consider using a [PositionedTransition] instead, which takes a provided
|
||||||
/// [Animation] as argument. While that allows you to fine-tune the animation,
|
/// [Animation] as an argument. While that allows you to fine-tune the animation,
|
||||||
/// it also requires more development overhead as you have to manually manage
|
/// it also requires more development overhead as you have to manually manage
|
||||||
/// the lifecycle of the underlying [AnimationController].
|
/// the lifecycle of the underlying [AnimationController].
|
||||||
///
|
///
|
||||||
@@ -1543,10 +1543,10 @@ class _SliverAnimatedOpacityState extends ImplicitlyAnimatedWidgetState<SliverAn
|
|||||||
/// of [Curves.elasticInOut].
|
/// of [Curves.elasticInOut].
|
||||||
/// {@animation 250 266 https://flutter.github.io/assets-for-api-docs/assets/widgets/animated_default_text_style.mp4}
|
/// {@animation 250 266 https://flutter.github.io/assets-for-api-docs/assets/widgets/animated_default_text_style.mp4}
|
||||||
///
|
///
|
||||||
/// For the animation, you can chose a [curve] as well as a [duration] and the
|
/// For the animation, you can choose a [curve] as well as a [duration] and the
|
||||||
/// widget will automatically animate to the new default text style. If you require
|
/// widget will automatically animate to the new default text style. If you require
|
||||||
/// more control over the animation (e.g. if you want to stop it mid-animation),
|
/// more control over the animation (e.g. if you want to stop it mid-animation),
|
||||||
/// consider using an [DefaultTextStyleTransition] instead, which takes a provided
|
/// consider using a [DefaultTextStyleTransition] instead, which takes a provided
|
||||||
/// [Animation] as argument. While that allows you to fine-tune the animation,
|
/// [Animation] as argument. While that allows you to fine-tune the animation,
|
||||||
/// it also requires more development overhead as you have to manually manage
|
/// it also requires more development overhead as you have to manually manage
|
||||||
/// the lifecycle of the underlying [AnimationController].
|
/// the lifecycle of the underlying [AnimationController].
|
||||||
|
|||||||
Reference in New Issue
Block a user