Directional
A widget that performs a directional animation on its child widget.
Preview
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,
)