Animation and motion widgets

Bring animations to your app.

See more widgets in the widget catalog.

AnimatedContainer

A container that gradually changes its values over a period of time.

AnimatedCrossFade

A widget that cross-fades between two given children and animates itself between their sizes.

Hero

A widget that marks its child as being a candidate for hero animations.

AnimatedBuilder

A general-purpose widget for building animations. AnimatedBuilder is useful for more complex widgets that wish to include an animation as part of a larger build function. To use AnimatedBuilder, simply construct the widget and pass it a builder function.

DecoratedBoxTransition

Animated version of a DecoratedBox that animates the different properties of its Decoration.

FadeTransition

Animates the opacity of a widget.

PositionedTransition

Animated version of Positioned which takes a specific Animation to transition the child's position from a start position to and end position over the lifetime of the animation.

RotationTransition

Animates the rotation of a widget.

ScaleTransition

Animates the scale of transformed widget.

SizeTransition

Animates its own size and clips and aligns the child.

SlideTransition

Animates the position of a widget relative to its normal position.

AnimatedDefaultTextStyle

Animated version of DefaultTextStyle which automatically transitions the default text style (the text style to apply to descendant Text widgets without explicit style) over a given duration whenever the given style changes.

AnimatedListState

The state for a scrolling container that animates items when they are inserted or removed.

AnimatedModalBarrier

A widget that prevents the user from interacting with widgets behind itself.

AnimatedOpacity

Animated version of Opacity which automatically transitions the child's opacity over a given duration whenever the given opacity changes.

AnimatedPhysicalModel

Animated version of PhysicalModel.

AnimatedPositioned

Animated version of Positioned which automatically transitions the child's position over a given duration whenever the given position changes.

AnimatedSize

Animated widget that automatically transitions its size over a given duration whenever the given child's size changes.

AnimatedWidget

A widget that rebuilds when the given Listenable changes value.

AnimatedWidgetBaseState

A base class for widgets with implicit animations.

See more widgets in the widget catalog.