Animation and motion widgets

Bring animations to your app.

AnimatedAlign

Animated transition that moves the child's position over a given duration whenever the given alignment changes.

AnimatedBuilder

A general-purpose widget for building animations. AnimatedBuilder is useful for more complex widgets that wish to include animation as part of a larger build function....

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.

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...

AnimatedList

A scrolling container that animates items when they are inserted or removed.

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.

ImplicitlyAnimatedWidget

An abstract class for building widgets that animate changes to their properties.

DecoratedBoxTransition

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

FadeTransition

Animates the opacity of a widget.

Hero

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

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...

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.

Find more widgets in the widget catalog.