From 0beda0e7fcff78dcfdbd62bc81bc28eb9b143d22 Mon Sep 17 00:00:00 2001 From: Rustem Kakimov Date: Wed, 29 Jul 2020 06:16:11 +0800 Subject: [PATCH] Fix typos in implicit_animations.dart (#62287) --- .../lib/src/widgets/implicit_animations.dart | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/flutter/lib/src/widgets/implicit_animations.dart b/packages/flutter/lib/src/widgets/implicit_animations.dart index da3cb2e46ce..684b5d225e6 100644 --- a/packages/flutter/lib/src/widgets/implicit_animations.dart +++ b/packages/flutter/lib/src/widgets/implicit_animations.dart @@ -238,10 +238,10 @@ class TextStyleTween extends Tween { /// the animation. While these widgets are simple to use and don't require you /// to manually manage the lifecycle of an [AnimationController], they /// 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 -/// to stop it somewhere in the middle), consider using a -/// [AnimatedWidget] or one of its subclasses. These widget take an [Animation] +/// to stop it somewhere in the middle), consider using an +/// [AnimatedWidget] or one of its subclasses. These widgets take an [Animation] /// 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 /// underlying [AnimationController]. @@ -857,7 +857,7 @@ class _AnimatedPaddingState extends AnimatedWidgetBaseState { /// [Curves.fastOutSlowIn]. /// {@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 /// more control over the animation (e.g. if you want to stop it mid-animation), /// consider using an [AlignTransition] instead, which takes a provided @@ -988,11 +988,11 @@ class _AnimatedAlignState extends AnimatedWidgetBaseState { /// of [Curves.fastOutSlowIn]. /// {@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 /// more control over the animation (e.g. if you want to stop it mid-animation), -/// consider using an [PositionedTransition] instead, which takes a provided -/// [Animation] as argument. While that allows you to fine-tune the animation, +/// consider using a [PositionedTransition] instead, which takes a provided +/// [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 /// the lifecycle of the underlying [AnimationController]. /// @@ -1543,10 +1543,10 @@ class _SliverAnimatedOpacityState extends ImplicitlyAnimatedWidgetState