From 56ade3d14f05c73b4bb92eed8c68ee068a3b8d5a Mon Sep 17 00:00:00 2001 From: Mary Date: Mon, 7 Jan 2019 16:21:57 -0800 Subject: [PATCH] Clarify doc for AnimatedContainer (#25790) --- packages/flutter/lib/src/widgets/implicit_animations.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/widgets/implicit_animations.dart b/packages/flutter/lib/src/widgets/implicit_animations.dart index ea680d0e91..37ea40f6f1 100644 --- a/packages/flutter/lib/src/widgets/implicit_animations.dart +++ b/packages/flutter/lib/src/widgets/implicit_animations.dart @@ -396,7 +396,8 @@ abstract class AnimatedWidgetBaseState exten /// /// The [AnimatedContainer] will automatically animate between the old and /// new values of properties when they change using the provided curve and -/// duration. Properties that are null are not animated. +/// duration. Properties that are null are not animated. Its child and +/// descendants are not animated. /// /// This class is useful for generating simple implicit transitions between /// different parameters to [Container] with its internal [AnimationController]. @@ -418,6 +419,8 @@ abstract class AnimatedWidgetBaseState exten /// position changes. /// * [AnimatedAlign], which automatically transitions its child's /// position over a given duration whenever the given [alignment] changes. +/// * [AnimatedSwitcher], which switches out a child for a new one with a customizable transition. +/// * [AnimatedCrossFade], which fades between two children and interpolates their sizes. class AnimatedContainer extends ImplicitlyAnimatedWidget { /// Creates a container that animates its parameters implicitly. ///