AnimatedAlign constructor
const
AnimatedAlign({})
Creates a widget that positions its child by an alignment that animates implicitly.
Implementation
const AnimatedAlign(
{super.key,
required this.alignment,
this.child,
this.heightFactor,
this.widthFactor,
this.curve = Curves.linear,
required this.duration,
this.onEnd})
: assert(widthFactor == null || widthFactor >= 0.0),
assert(heightFactor == null || heightFactor >= 0.0);