Skip to main content

Directional

A widget that performs a directional animation on its child widget.

Preview

Directional Animation

Constructor

const DirectionalAnimation({
required this.child,
required this.delay,
required this.direction,
Curve? curve,
super.key,
})

Example:

DirectionalAnimation(
child: MyWidget(),
delay: 200,
direction: DirectionalAnimationDirection.left,
)